Message365012
add a pdb point in L11 of test_datetime.py
8 try:
9 pure_tests = import_fresh_module(TESTS, fresh=['datetime', '_strptime'],
10 blocked=['_datetime'])
11 import pdb;pdb.set_trace()
12 -> fast_tests = import_fresh_module(TESTS, fresh=['datetime',
13 '_datetime', '_strptime'])
and run `./python -m test test_datetime test_datetime`:
the first iteration:
(Pdb) pure_tests.datetime_module._divide_and_round
<function _divide_and_round at 0x7f694df8e7e0>
the second iteration(`_datetime` not blocked?):
(Pdb) pure_tests.datetime_module._divide_and_round
*** AttributeError: module 'datetime' has no attribute '_divide_and_round' |
|
Date |
User |
Action |
Args |
2020-03-25 18:54:40 | shihai1991 | set | recipients:
+ shihai1991, belopolsky, vstinner, p-ganssle, corona10 |
2020-03-25 18:54:40 | shihai1991 | set | messageid: <1585162480.52.0.133438045334.issue40058@roundup.psfhosted.org> |
2020-03-25 18:54:40 | shihai1991 | link | issue40058 messages |
2020-03-25 18:54:40 | shihai1991 | create | |
|