Skip to content

Commit 9a33fec

Browse files
Fix pre-commit check on conftest.py
1 parent 6163ffc commit 9a33fec

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pandas/tests/strings/conftest.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,10 @@
9696
)
9797
)
9898
ids, _, _ = zip(*_any_string_method) # use method name as fixture-id
99-
NON_METHODS = {'TYPE_CHECKING', 'Iterable'}
100-
missing_methods = {f for f in dir(StringMethods) if not f.startswith("_")} - set(ids) - NON_METHODS
99+
NON_METHODS = {"TYPE_CHECKING", "Iterable"}
100+
missing_methods = (
101+
{f for f in dir(StringMethods) if not f.startswith("_")} - set(ids) - NON_METHODS
102+
)
101103

102104
# test that the above list captures all methods of StringMethods
103105
assert not missing_methods

0 commit comments

Comments
 (0)