Skip to content

Commit 7f729cf

Browse files
committed
Update tox.ini and runtests to work correctly
1 parent 8a33b1f commit 7f729cf

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

run_tests.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@
1616
names.append('test.test_zipfile')
1717

1818
suite = unittest.TestLoader().loadTestsFromNames(names)
19-
unittest.TextTestRunner(verbosity=2).run(suite)
19+
runner = unittest.TextTestRunner(verbosity=2).run(suite)
20+
ret = not runner.wasSuccessful()
21+
sys.exit(ret)

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py35,py36,py37
2+
envlist = python3.3,python3.4,python3.5,python3.6,python3.7
33

44
[testenv]
55
# use the cmd line arg extralargefile to run zipfile64 tests.

0 commit comments

Comments
 (0)