Skip to content

Commit 22a78ae

Browse files
committed
TST: Get all tests passing on Cygwin.
The check reference caused docutils problems with no ldesc. The cygwinccompiler change produced a DeprecationWarning.
1 parent 18203a2 commit 22a78ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distutils/command/check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def _check_rst_data(self, data):
144144
document.note_source(source_path, -1)
145145
try:
146146
parser.parse(data, document)
147-
except AttributeError as e:
147+
except (AttributeError, TypeError) as e:
148148
reporter.messages.append((
149149
-1,
150150
f'Could not finish the parsing: {e}.',

0 commit comments

Comments
 (0)