Author shihai1991
Recipients belopolsky, corona10, p-ganssle, shihai1991, vstinner
Date 2020-03-25.18:54:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1585162480.52.0.133438045334.issue40058@roundup.psfhosted.org>
In-reply-to
Content
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'
History
Date User Action Args
2020-03-25 18:54:40shihai1991setrecipients: + shihai1991, belopolsky, vstinner, p-ganssle, corona10
2020-03-25 18:54:40shihai1991setmessageid: <1585162480.52.0.133438045334.issue40058@roundup.psfhosted.org>
2020-03-25 18:54:40shihai1991linkissue40058 messages
2020-03-25 18:54:40shihai1991create