freezing-area-9713104/01/2022, 5:48 AM
works fine, and also
works fine. But I encountered a weird bug. I found out that some of my unit tests got run twice, and that caused error. The folder structure has a
./pants test ...
file is like this:
I guess that’s why the same file get run two times. And due to some cache or memory issue, the variables in the first run were not cleaned up, so when the second run start, the value was not as expected, so the assertion failed. This didn’t happen in previous version. Is it due to some upgrade issue? I fixed it by deleting the
python_tests( name='xxxxx', sources=globs('*.py'), dependencies=[ ... ], )
file, but I then thought modify
file might work as well (?