Closed VasilyevAA closed 3 years ago
Thanks for this issue. As you noted, this failure is only triggered when using the pytest-xdist command line option -n 1
.
I have replicated the bug locally and will explore how to best fix this.
I just released an updated version of the pytest-datatest
development package (version 0.1.4). This update will be included in the next version of datatest
itself.
HOW TO FIX THIS: If you want to apply this fix right now, you can install the separate plugin package (it's compatible with datatest 0.9.6):
pip install pytest-datatest
Once these changes land in the next stable version of datatest, I'll close this issue. But let's leave it open for now in case anyone else needs this same fix.
Hi, all! I've got some problem, when start my tests with pytest-xdist
MacOS(Also check in debian) python 3.8.2
pytest==5.4.3 pytest-xdist==1.33.0 datatest==0.9.6
Output:
But if I change second test like this, all works fine:
I don't know exactly where i should create bug\issue about this :)