aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 614df41..63abed1 100755
--- a/setup.py
+++ b/setup.py
@@ -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
9class TestsWithCoverage(test, object): 9class 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