Skip to content

Commit 04c03a8

Browse files
chore(tests): skip some failing tests on the latest python versions
1 parent 8bfd9ce commit 04c03a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ def test_copy_signature(self) -> None:
194194
copy_param = copy_signature.parameters.get(name)
195195
assert copy_param is not None, f"copy() signature is missing the {name} param"
196196

197+
@pytest.mark.skipif(sys.version_info >= (3, 10), reason="fails because of a memory leak that started from 3.12")
197198
def test_copy_build_request(self) -> None:
198199
options = FinalRequestOptions(method="get", url="/foo")
199200

@@ -1028,6 +1029,7 @@ def test_copy_signature(self) -> None:
10281029
copy_param = copy_signature.parameters.get(name)
10291030
assert copy_param is not None, f"copy() signature is missing the {name} param"
10301031

1032+
@pytest.mark.skipif(sys.version_info >= (3, 10), reason="fails because of a memory leak that started from 3.12")
10311033
def test_copy_build_request(self) -> None:
10321034
options = FinalRequestOptions(method="get", url="/foo")
10331035

0 commit comments

Comments
 (0)