Skip to content

Commit 12f2c6a

Browse files
committed
TST: make sure test_fash uses the same seed for launching processes
1 parent 821be39 commit 12f2c6a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test_fast.sh

+7
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1+
#!/bin/bash
2+
3+
# Workaround for pytest-xdist flaky collection order
4+
# https://github.com/pytest-dev/pytest/issues/920
5+
# https://github.com/pytest-dev/pytest/issues/1075
6+
export PYTHONHASHSEED=$(python -c 'import random; print(random.randint(1, 4294967295))')
7+
18
pytest pandas --skip-slow --skip-network -m "not single" -n 4

0 commit comments

Comments
 (0)