Skip both multiprocessing tests. Ref
@@ -16,6 +16,11 @@ pytestmark = [
platform.system() == 'Linux',
reason="#410: keyring discovery fails intermittently",
),
+ pytest.mark.skipif(
+ # always skip as it crashes the interpreter
+ sys.version_info < (3, 8) and platform.system() == 'Darwin',
+ reason="#281, #494: Prior to 3.8, multiprocess invocation fails",
+ ),
]
@@ -26,11 +31,6 @@ def test_multiprocess_get():
assert proc1.exitcode == 0
-@pytest.mark.skipif(
- # always skip as it crashes the interpreter
- sys.version_info < (3, 8) and platform.system() == 'Darwin',
- reason="#281: Prior to 3.8, multiprocess invocation fails",
-)
def test_multiprocess_get_after_native_get():
keyring.get_password('test_app', 'test_user')
test_multiprocess_get()
