Skip to content

Commit c64047c

Browse files
chore(tests): skip some failing tests on the latest python versions
1 parent 87bc6e2 commit c64047c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_client.py

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

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

@@ -1025,6 +1026,7 @@ def test_copy_signature(self) -> None:
10251026
copy_param = copy_signature.parameters.get(name)
10261027
assert copy_param is not None, f"copy() signature is missing the {name} param"
10271028

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

0 commit comments

Comments
 (0)