Skip to content

Commit 01b1126

Browse files
jrebackAnkurDedania
authored andcommitted
TST: make sure test_fash uses the same seed for launching processes
1 parent 54e9bf3 commit 01b1126

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test_fast.sh

Lines changed: 7 additions & 0 deletions
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)