Skip to content

Commit

Permalink
PYTHON-4738 Skip encryption test_fork on PyPy (#1865)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Sep 18, 2024
1 parent 9a71be1 commit 6d472a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/asynchronous/test_encryption.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ async def test_use_after_close(self):
is_greenthread_patched(),
"gevent and eventlet do not support POSIX-style forking.",
)
@unittest.skipIf("PyPy" in sys.version, "PYTHON-4738 fails often on PyPy")
@async_client_context.require_sync
async def test_fork(self):
opts = AutoEncryptionOpts(KMS_PROVIDERS, "keyvault.datakeys")
Expand Down
1 change: 1 addition & 0 deletions test/test_encryption.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ def test_use_after_close(self):
is_greenthread_patched(),
"gevent and eventlet do not support POSIX-style forking.",
)
@unittest.skipIf("PyPy" in sys.version, "PYTHON-4738 fails often on PyPy")
@client_context.require_sync
def test_fork(self):
opts = AutoEncryptionOpts(KMS_PROVIDERS, "keyvault.datakeys")
Expand Down

0 comments on commit 6d472a1

Please sign in to comment.