There was an error while loading. Please reload this page.
1 parent d404787 commit cf11484Copy full SHA for cf11484
1 file changed
Lib/test/test_abc.py
@@ -754,7 +754,6 @@ def test_error_contains_module_when_not_main(self):
754
with self.assertRaises(TypeError) as cm:
755
self.MyAbstractClass()
756
757
- print(str(cm.exception))
758
self.assertRegex(str(cm.exception), r"test_module\..*\.MyAbstractClass")
759
finally:
760
self.MyAbstractClass.__module__ = original_module
0 commit comments