diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-12-15 08:25:47 -0800 |
---|---|---|
committer | Jon Dufresne <jon.dufresne@gmail.com> | 2018-12-15 08:35:55 -0800 |
commit | ade973f4e376e6eb573be70fcce4f9b21faec500 (patch) | |
tree | 5d185c9a880e77db1e4a73131afaae90b1ad1c77 /tests/test_util_fileutil.py | |
parent | 6113261948523ef6cad74621dec10e0cbf0189c7 (diff) | |
download | sphinx-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 'tests/test_util_fileutil.py')
-rw-r--r-- | tests/test_util_fileutil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_util_fileutil.py b/tests/test_util_fileutil.py index 11f40ad78..e27132069 100644 --- a/tests/test_util_fileutil.py +++ b/tests/test_util_fileutil.py @@ -17,7 +17,7 @@ from sphinx.util.fileutil import copy_asset, copy_asset_file class DummyTemplateLoader(BuiltinTemplateLoader): def __init__(self): - super(DummyTemplateLoader, self).__init__() + super().__init__() builder = mock.Mock() builder.config.templates_path = [] builder.app.translater = None |