Message369555
import test.test_idle as ti
import unittest as u
u.main(ti)
has one failure:
Traceback (most recent call last):
File "C:\Programs\Python39\lib\idlelib\idle_test\test_autocomplete.py", line 230, in test_fetch_completions
if __main__.__file__ != ac.__file__:
AttributeError: module '__main__' has no attribute '__file__'
ac = autocomplete. The condition is followed by
self.assertNotIn('AutoComplete', small) # See issue 36405
which is false when ac is run as main to run the test. Adding "hasattr(__main__, '__file__') and " to the beginning of the condition should be sufficient. I should add a note to #36405 explaining this conditional assertion better. |
|
Date |
User |
Action |
Args |
2020-05-22 04:07:15 | terry.reedy | set | recipients:
+ terry.reedy |
2020-05-22 04:07:15 | terry.reedy | set | messageid: <1590120435.83.0.2126629623.issue40723@roundup.psfhosted.org> |
2020-05-22 04:07:15 | terry.reedy | link | issue40723 messages |
2020-05-22 04:07:14 | terry.reedy | create | |
|