summaryrefslogtreecommitdiff
path: root/sphinx/testing/util.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-12-15 08:25:47 -0800
committerJon Dufresne <jon.dufresne@gmail.com>2018-12-15 08:35:55 -0800
commitade973f4e376e6eb573be70fcce4f9b21faec500 (patch)
tree5d185c9a880e77db1e4a73131afaae90b1ad1c77 /sphinx/testing/util.py
parent6113261948523ef6cad74621dec10e0cbf0189c7 (diff)
downloadsphinx-git-ade973f4e376e6eb573be70fcce4f9b21faec500.tar.gz
Use Python 3 super() argument-less syntax
The form is less verbose and more idiomatic for Python 3 only code. https://docs.python.org/3/library/functions.html#super
Diffstat (limited to 'sphinx/testing/util.py')
-rw-r--r--sphinx/testing/util.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sphinx/testing/util.py b/sphinx/testing/util.py
index 13147a3f9..8fe2f7ee0 100644
--- a/sphinx/testing/util.py
+++ b/sphinx/testing/util.py
@@ -139,9 +139,9 @@ class SphinxTestApp(application.Sphinx):
if v.startswith('visit_'))
try:
- super(SphinxTestApp, self).__init__(srcdir, confdir, outdir, doctreedir,
- buildername, confoverrides, status, warning,
- freshenv, warningiserror, tags)
+ super().__init__(srcdir, confdir, outdir, doctreedir,
+ buildername, confoverrides, status, warning,
+ freshenv, warningiserror, tags)
except Exception:
self.cleanup()
raise