mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Issue #19535: Fixed test_docxmlrpc, test_functools, test_inspect, and
test_statistics when python is run with -OO.
This commit is contained in:
commit
b12cb6a550
5 changed files with 14 additions and 4 deletions
|
@ -2529,7 +2529,8 @@ class TestMain(unittest.TestCase):
|
|||
# Just a quick sanity check on the output
|
||||
self.assertIn(module.__name__, output)
|
||||
self.assertIn(module.__file__, output)
|
||||
self.assertIn(module.__cached__, output)
|
||||
if not sys.flags.optimize:
|
||||
self.assertIn(module.__cached__, output)
|
||||
self.assertEqual(err, b'')
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue