From 70b03b50c83398a9df7b765064f14f836af672e5 Mon Sep 17 00:00:00 2001 From: Julio Castillo Date: Wed, 7 Sep 2022 11:24:11 +0200 Subject: [PATCH] Remove duplicate path component from doc_examples test names. --- tests/doc_examples/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/doc_examples/conftest.py b/tests/doc_examples/conftest.py index 07fa0cc3a7..79975a96e3 100644 --- a/tests/doc_examples/conftest.py +++ b/tests/doc_examples/conftest.py @@ -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)