We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cabfad4 commit 5fee7b4Copy full SHA for 5fee7b4
pandas/tests/extension/test_common.py
@@ -26,7 +26,7 @@ def construct_from_string(cls, string):
26
if string == cls.name:
27
return cls()
28
else:
29
- raise TypeError("Cannot construct a '{}' from '{}'".format(cls, string))
+ raise TypeError(f"Cannot construct a '{cls}' from '{string}'")
30
31
@classmethod
32
def construct_array_type(cls):
0 commit comments