Skip to content

Commit 27600e8

Browse files
committed
Fix relative import in tests
1 parent 7ba8d82 commit 27600e8

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ script:
2424
# Run tests
2525
- PYTHONPATH=. nosetests -s -v --with-doctest --with-cov --cover-package . --logging-level=INFO -v .
2626
# Actually run all the scripts, contributing to coverage
27-
- ./run_all.sh
27+
- PYTHONPATH=. ./run_all.sh
2828
# for now failure in flaking is ignored
2929
- flake8 *py || echo "PEP8 the code"
3030

__init__.py

Whitespace-only changes.

run_all.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ else
1212
COVERAGE=''
1313
fi
1414
for f in */[^_]*py; do
15-
python $COVERAGE $f || failed+=" $f"
15+
PYTHONPATH=. python $COVERAGE $f || failed+=" $f"
1616
echo "I: done $f. Exit code $?"
1717
done;
1818

0 commit comments

Comments
 (0)