Message304300
When I import autotest in IDLE's shell, test_code_module fails, test_importlib and test_warnings fail, as without IDLE, and test_gc and test_logging are new failures. (Results are easy to see because SystemExit is caught and ignored.)
test test_gc failed -- Traceback (most recent call last):
File "F:\dev\3x\lib\test\support\__init__.py", line 1855, in wrapper
return func(*args, **kwargs)
File "F:\dev\3x\lib\test\test_gc.py", line 290, in test_get_count
self.assertLess(a, 5)
AssertionError: 8 not less than 5
<a comes from gc.get_count() after gc.collect(). When I repeat outside of the test, a is 31. I think either gc or this test is buggy.>
test test_logging failed -- Traceback (most recent call last):
File "F:\dev\3x\lib\test\test_logging.py", line 1960, in test_warnings
"dummy.py:42: UserWarning: Explicit\n Dummy line\n")
AssertionError: '\nWarning (from warnings module):\n File[57 chars]it\n' != 'dummy.py:42: UserWarning: Explicit\n Dummy line\n'
+ dummy.py:42: UserWarning: Explicit
-
- Warning (from warnings module):
- File "dummy.py", line 42
- Dummy line
? --
+ Dummy line
- UserWarning: Explicit
IDLE replaces warnings.show_warnings. In any case, there are 3 failures in Python's shell versus 4 in IDLE's shell. |
|
Date |
User |
Action |
Args |
2017-10-13 01:05:01 | terry.reedy | set | recipients:
+ terry.reedy, vstinner, docs@python, serhiy.storchaka, Mariatta, denis-osipov |
2017-10-13 01:05:01 | terry.reedy | set | messageid: <1507856701.95.0.213398074469.issue31761@psf.upfronthosting.co.za> |
2017-10-13 01:05:01 | terry.reedy | link | issue31761 messages |
2017-10-13 01:05:01 | terry.reedy | create | |
|