diff options
author | Hugo <hugovk@users.noreply.github.com> | 2019-04-07 18:17:11 +0300 |
---|---|---|
committer | Mike Crute <crutem@amazon.com> | 2019-04-07 10:11:23 -0700 |
commit | 6b7990a3de49ebf9483a70003a20dd6636e8c000 (patch) | |
tree | 7fa4c6eefe49067588d5cef3640cf12bba9cf90e /setup.py | |
parent | 5087590bff74bb5bb71c9ae6c51bc6f27646a04b (diff) | |
download | pydora-6b7990a3de49ebf9483a70003a20dd6636e8c000.tar.bz2 pydora-6b7990a3de49ebf9483a70003a20dd6636e8c000.tar.xz pydora-6b7990a3de49ebf9483a70003a20dd6636e8c000.zip |
Upgrade Python syntax with pyupgrade --py3-plus
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 | ||