diff options
Diffstat (limited to 'tests/basics/class_notimpl.py')
-rw-r--r-- | tests/basics/class_notimpl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basics/class_notimpl.py b/tests/basics/class_notimpl.py index 7fd8166f9..308075f92 100644 --- a/tests/basics/class_notimpl.py +++ b/tests/basics/class_notimpl.py @@ -11,7 +11,7 @@ class C: self.value = value def __str__(self): - return "C(%s)" % self.value + return "C({})".format(self.value) def __add__(self, rhs): print(self, '+', rhs) |