diff options
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,7 +6,7 @@ from setuptools import setup, find_packages | |||
6 | 6 | ||
7 | 7 | ||
8 | # Python 2 setuptools test class is not an object | 8 | # Python 2 setuptools test class is not an object |
9 | class TestsWithCoverage(test, object): | 9 | class TestsWithCoverage(test): |
10 | 10 | ||
11 | description = "run unit tests with coverage" | 11 | description = "run unit tests with coverage" |
12 | 12 | ||
@@ -28,7 +28,7 @@ class TestsWithCoverage(test, object): | |||
28 | 28 | ||
29 | # Unittest calls exit prior to python 3. How naughty | 29 | # Unittest calls exit prior to python 3. How naughty |
30 | try: | 30 | try: |
31 | super(TestsWithCoverage, self).run() | 31 | super().run() |
32 | except SystemExit: | 32 | except SystemExit: |
33 | pass | 33 | pass |
34 | 34 | ||