Skip to content

Commit 5fee7b4

Browse files
committed
linting
1 parent cabfad4 commit 5fee7b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/extension/test_common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def construct_from_string(cls, string):
2626
if string == cls.name:
2727
return cls()
2828
else:
29-
raise TypeError("Cannot construct a '{}' from '{}'".format(cls, string))
29+
raise TypeError(f"Cannot construct a '{cls}' from '{string}'")
3030

3131
@classmethod
3232
def construct_array_type(cls):

0 commit comments

Comments
 (0)