Duplicated performance records when running tests again
njoyard opened this issue · 2 comments
njoyard commented
When running tests multiple times in the same environment, the __file__
global points to .pyc
files when they are present, so utils.current_test()
picks them up instead of source files.
The fix is quite straightforward of course, should I include it in #27 or make a new PR (that will have a merge conflict) ?
adamchainz commented
Aha! I never found this because we run our test/dev environment with pyc files disabled.
New PR please, I can handle merge conflicts 👍
adamchainz commented
Fixed in 6a34df3