python: remove the Instance collector node

This commit is contained in:
Ran Benita
2021-11-13 14:03:44 +02:00
committed by GitHub
parent 17b38259fd
commit 062d91ab47
19 changed files with 142 additions and 65 deletions

View File

@@ -936,7 +936,7 @@ class TestPython:
def test_mangle_test_address() -> None:
from _pytest.junitxml import mangle_test_address
address = "::".join(["a/my.py.thing.py", "Class", "()", "method", "[a-1-::]"])
address = "::".join(["a/my.py.thing.py", "Class", "method", "[a-1-::]"])
newnames = mangle_test_address(address)
assert newnames == ["a.my.py.thing", "Class", "method", "[a-1-::]"]