Skip to content

Commit fb4add9

Browse files
authored
TST Fix package name parsing bug in conftest.py (#348)
1 parent 20ee402 commit fb4add9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def maybe_skip_test(item, delayed=False):
1919
skip_msg = None
2020
# Testing a package. Skip the test if the package is not built.
2121
match = re.match(
22-
r".*/packages/(?P<name>[\w\-]+)/test_[\w\-]+\.py", str(item.parent.fspath)
22+
r".*/packages/(?P<name>[\w\-\.]+)/test_[\w\-]+\.py", str(item.parent.fspath)
2323
)
2424
if match and not is_common_test:
2525
package_name = match.group("name")

0 commit comments

Comments
 (0)