Skip to content

Commit b1fd049

Browse files
try fixing type checks
1 parent 75181f7 commit b1fd049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/frame/test_subclass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ def __init__(self, *args, **kwargs) -> None:
755755

756756
my_metadata = kwargs.pop("my_metadata", None)
757757
if args and isinstance(args[0], MySubclassWithMetadata):
758-
my_metadata = args[0].my_metadata
758+
my_metadata = args[0].my_metadata # type: ignore[has-type]
759759
self.my_metadata = my_metadata
760760

761761
@property

0 commit comments

Comments
 (0)