This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients Mariatta, denis-osipov, docs@python, serhiy.storchaka, terry.reedy, vstinner
Date 2017-10-13.01:05:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507856701.95.0.213398074469.issue31761@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-10-13 01:05:01terry.reedysetrecipients: + terry.reedy, vstinner, docs@python, serhiy.storchaka, Mariatta, denis-osipov
2017-10-13 01:05:01terry.reedysetmessageid: <1507856701.95.0.213398074469.issue31761@psf.upfronthosting.co.za>
2017-10-13 01:05:01terry.reedylinkissue31761 messages
2017-10-13 01:05:01terry.reedycreate