Skip to content

Commit cf184f3

Browse files
committed
Also remove the obsolete comment.
1 parent 9d8bbcd commit cf184f3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/test_modules.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,6 @@ def test_def_submodule_failures():
108108
sm.__name__ = malformed_utf8
109109
try:
110110
with pytest.raises(SystemError):
111-
# Seen with Python 3.9: SystemError: nameless module
112-
# But we do not want to exercise the internals of PyModule_GetName(), which could
113-
# change in future versions of Python, but a bad __name__ is very likely to cause
114-
# some kind of failure indefinitely.
115111
m.def_submodule(sm, b"SubSubModuleName")
116112
finally:
117113
# Clean up to ensure nothing gets upset by a module with an invalid __name__.

0 commit comments

Comments
 (0)