summaryrefslogtreecommitdiff
path: root/testtools/matchers/_const.py
diff options
context:
space:
mode:
Diffstat (limited to 'testtools/matchers/_const.py')
-rw-r--r--testtools/matchers/_const.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testtools/matchers/_const.py b/testtools/matchers/_const.py
index 827ce83..3103a2c 100644
--- a/testtools/matchers/_const.py
+++ b/testtools/matchers/_const.py
@@ -40,7 +40,7 @@ class _Never:
def match(self, value):
return Mismatch(
- 'Inevitable mismatch on {!r}'.format(value))
+ f'Inevitable mismatch on {value!r}')
def Never():