summaryrefslogtreecommitdiffstats
path: root/contrib/python/multidict/tests/conftest.py
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2025-07-09 10:22:03 +0300
committerrobot-piglet <[email protected]>2025-07-09 10:41:10 +0300
commitf91edcd669b2b4e97378bae7b57f6589e68a538f (patch)
treec76a2875faa0ec6ab7d4cfe245ba138114447041 /contrib/python/multidict/tests/conftest.py
parentf979375c0346ff1acee7005d4c0d22d954d4dfa3 (diff)
Intermediate changes
commit_hash:d8fa10d7fba592f861e1470374c72cf22f0d5a2b
Diffstat (limited to 'contrib/python/multidict/tests/conftest.py')
-rw-r--r--contrib/python/multidict/tests/conftest.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/python/multidict/tests/conftest.py b/contrib/python/multidict/tests/conftest.py
index a37f58f2d1f..dfc1a6703cd 100644
--- a/contrib/python/multidict/tests/conftest.py
+++ b/contrib/python/multidict/tests/conftest.py
@@ -39,7 +39,7 @@ class MultidictImplementation:
@cached_property
def tag(self) -> str:
"""Return a text representation of the pure-python attribute."""
- return "pure-python" if self.is_pure_python else "c-extension"
+ return "py" if self.is_pure_python else "c"
@cached_property
def imported_module(self) -> ModuleType:
@@ -49,7 +49,7 @@ class MultidictImplementation:
def __str__(self) -> str:
"""Render the implementation facade instance as a string."""
- return f"{self.tag}-module"
+ return self.tag
@pytest.fixture(
@@ -79,7 +79,7 @@ def multidict_module(
@pytest.fixture(
scope="session",
params=("MultiDict", "CIMultiDict"),
- ids=("case-sensitive", "case-insensitive"),
+ ids=("cs", "ci"),
)
def any_multidict_class_name(request: pytest.FixtureRequest) -> str:
"""Return a class name of a mutable multidict implementation."""