Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Commit fec37dd

Browse files
committed
Improve coverage of get_matching_variables_performance
1 parent 2b54a53 commit fec37dd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

root_pandas/readwrite.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,7 @@ def get_matching_variables(branches, patterns, fail=True):
7474
if match not in selected:
7575
selected.append(match)
7676
elif pattern in branches:
77-
found = True
78-
if pattern not in selected:
79-
selected.append(pattern)
77+
raise NotImplementedError('I think this is impossible?')
8078
if not found and fail:
8179
raise ValueError("Pattern '{}' didn't match any branch".format(pattern))
8280
return selected

0 commit comments

Comments
 (0)