Message368273
FYI, with the following additions in Lib/test/test_datetime.py...
before = set(sys.modules)
try:
pure_tests = import_fresh_module(TESTS, fresh=['datetime', '_strptime'],
blocked=['_datetime'])
_pure = set(sys.modules)
fast_tests = import_fresh_module(TESTS, fresh=['datetime',
'_datetime', '_strptime'])
_fast = set(sys.modules)
print(f'added (pure): {sorted(_pure-before)}')
print(f'added (fast): {sorted(_fast-before)}')
print('---')
finally:
...
I get the following output running "./python -m test test_datetime test_datetime":
0:00:00 load avg: 0.52 Run tests sequentially
0:00:00 load avg: 0.52 [1/2] test_datetime
added (pure): ['_decimal', '_strptime', '_testcapi', 'decimal', 'numbers', 'test.datetimetester']
added (fast): ['_decimal', '_strptime', '_testcapi', 'decimal', 'numbers', 'test.datetimetester']
---
0:00:05 load avg: 0.52 [2/2] test_datetime
added (pure): ['_datetime', '_strptime', 'datetime']
added (fast): ['_datetime', '_strptime', 'datetime']
---
[snipped]
That definitely tells a story. :) Unfortunately, for now I don't have any more time to investigate. Sorry. |
|
Date |
User |
Action |
Args |
2020-05-06 16:03:27 | eric.snow | set | recipients:
+ eric.snow, georg.brandl, belopolsky, vstinner, p-ganssle, corona10, shihai1991 |
2020-05-06 16:03:27 | eric.snow | set | messageid: <1588781007.08.0.610742338201.issue40058@roundup.psfhosted.org> |
2020-05-06 16:03:27 | eric.snow | link | issue40058 messages |
2020-05-06 16:03:26 | eric.snow | create | |
|