summaryrefslogtreecommitdiff
path: root/pelican/tests/support.py
diff options
context:
space:
mode:
authorJustin Mayer <entroP@gmail.com>2020-04-26 09:55:08 +0200
committerJustin Mayer <entroP@gmail.com>2020-04-27 09:45:31 +0200
commitd43b786b300358e8a4cbae4afc4052199a7af762 (patch)
tree8c2231297301b1eb307e3c132ca4710cacd5eef0 /pelican/tests/support.py
parent2cd1d44576ecc4fd0cc532cbb19c2b934ab5c665 (diff)
downloadpelican-remove-legacy.tar.gz
Modernize code base to Python 3+ syntaxremove-legacy
Replaces syntax that was relevant in earlier Python versions but that now has modernized equivalents.
Diffstat (limited to 'pelican/tests/support.py')
-rw-r--r--pelican/tests/support.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/pelican/tests/support.py b/pelican/tests/support.py
index 327e672d..8a22052e 100644
--- a/pelican/tests/support.py
+++ b/pelican/tests/support.py
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
import locale
import logging
import os
@@ -134,7 +132,7 @@ def skipIfNoExecutable(executable):
res = None
if res is None:
- return unittest.skip('{0} executable not found'.format(executable))
+ return unittest.skip('{} executable not found'.format(executable))
return lambda func: func