Skip to content

Commit

Permalink
Remove duplicate path component from doc_examples test names.
Browse files Browse the repository at this point in the history
  • Loading branch information
juliocc committed Sep 7, 2022
1 parent 718f9d8 commit 70b03b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/doc_examples/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def pytest_generate_tests(metafunc):
continue
examples.append(code)
path = module.relative_to(FABRIC_ROOT)
name = f'{path}/{module.stem}:{last_header}'
name = f'{path}:{last_header}'
if index > 1:
name += f' {index}'
ids.append(name)
Expand Down

0 comments on commit 70b03b5

Please sign in to comment.