diff options
Diffstat (limited to 'numpy/tests/test_typing.py')
-rw-r--r-- | numpy/tests/test_typing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/tests/test_typing.py b/numpy/tests/test_typing.py index 04ea3c64d..32342d321 100644 --- a/numpy/tests/test_typing.py +++ b/numpy/tests/test_typing.py @@ -89,7 +89,7 @@ def test_fail(path): for i, line in enumerate(lines): lineno = i + 1 - if " E:" not in line and lineno not in errors: + if line.startswith('#') or (" E:" not in line and lineno not in errors): continue target_line = lines[lineno - 1] |