Skip to content

Commit

Permalink
Add needed normalizer also to windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
icemac committed Oct 15, 2024
1 parent 946eb34 commit 99781d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/zope/testrunner/tests/test_doctest.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@

# disregard trailing whitespace
(re.compile(r'\s+$'), ''),

# Python 3.13+ no longer prints this `--Return--` line in pdb tests.
(re.compile(r'--Return--'), ''),
])
else:
# *nix
Expand Down Expand Up @@ -137,7 +140,6 @@
r''),
# Python 3.13+ no longer prints this `--Return--` line in pdb tests.
(re.compile(r'--Return--'), ''),
(re.compile(r'--Return--\r'), ''),

# disregard trailing whitespace
(re.compile(r'\s+$', re.MULTILINE), ''),
Expand Down

0 comments on commit 99781d0

Please sign in to comment.