Commit b63dcbf0 authored by Stefan Behnel's avatar Stefan Behnel

Minor test code refactoring to use f-string.

parent 2d62a208
......@@ -14,7 +14,7 @@ cdef class TestClass(object):
self.value = value
def __str__(self):
return 'TestClass(%d)' % self.value
return f'TestClass({self.value})'
cdef cdef_method(self, int value):
print('Hello from cdef_method', value)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment