File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 44
44
- PANDAS=
45
45
- NPROC=2
46
46
- TEST_ARGS=--no-pep8
47
- - NOSE_ARGS="--processes= $NPROC --process-timeout=300 "
47
+ - NOSE_ARGS="-j $NPROC"
48
48
- PYTEST_ARGS="-ra --timeout=300 --durations=25 --cov-report= --cov=lib" # -n $NPROC
49
49
- PYTHON_ARGS=
50
50
- DELETE_FONT_CACHE=
Original file line number Diff line number Diff line change 28
28
disable_internet .turn_off_internet ()
29
29
extra_args .extend (['-a' , '!network' ])
30
30
sys .argv .remove ('--no-network' )
31
+ if '-j' in sys .argv :
32
+ nproc = sys .argv [sys .argv .index ('-j' ) + 1 ]
33
+ extra_args .extend ([
34
+ '--processes={}' .format (int (nproc )),
35
+ '--process-timeout=300'
36
+ ])
37
+ sys .argv .remove ('-j' )
38
+ sys .argv .remove (nproc )
31
39
32
40
print ('Python byte-compilation optimization level: %d' % sys .flags .optimize )
33
41
You can’t perform that action at this time.
0 commit comments