Remove duplicate path component from doc_examples test names.

This commit is contained in:
Julio Castillo 2022-09-07 11:24:11 +02:00
parent 718f9d80df
commit 70b03b50c8
1 changed files with 1 additions and 1 deletions

View File

@ -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)