Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: --update-data incompatible with xdist (#15641)
Fixes a [gotcha](#15283 (comment)) with `--update-data`. When using `--update-data` with parallelized tests (xdist), the line offsets determined at test time may become wrong by update time, as multiple workers perform their updates to the same file. This makes it so we exit with a usage error when `--update-data` is used with parallelism.
- Loading branch information