Skip to content

Commit 14d3f8a

Browse files
authored
Merge pull request #325 from corenting/chore/skip-test-pypy
chore: skip perf test on pypy
2 parents cd62270 + 2146658 commit 14d3f8a

File tree

2 files changed

+60
-55
lines changed

2 files changed

+60
-55
lines changed

poetry.lock

+55-55
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/test_immutabledict.py

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import pickle
2+
import platform
23
from io import BytesIO
34
from typing import Any, Dict, Union
45

@@ -191,6 +192,10 @@ def test_union_operator_update_with_dict_second(self) -> None:
191192
assert first_dict == {"a": "a", "b": "b"}
192193
assert second_dict == {"a": "A", "c": "c"}
193194

195+
@pytest.mark.skipif(
196+
platform.python_implementation() == "PyPy",
197+
reason="Performance is just checked against CPython",
198+
)
194199
@pytest.mark.parametrize(
195200
"statement",
196201
[

0 commit comments

Comments
 (0)