Skip to content

Commit ae03400

Browse files
committed
Use -m switch when running tests in travis
1 parent f28a8da commit ae03400

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/bash
2-
python test/test_func.py
2+
python -m test.test_func

scripts/travis-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ python scripts/travis_skip.py
33

44
if [ "$?" -eq "0" ]
55
then
6-
coverage run test/test_func.py
6+
coverage run -m test.test_func
77
else
88
echo "Skipping"
99
fi

0 commit comments

Comments
 (0)