summaryrefslogtreecommitdiff
path: root/dev-python/keyring/files/keyring-19.3.0-tests.patch
blob: 82cef178c6cb08d2bff0c0b8424e36a2f6579f4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff --git a/keyring/tests/test_multiprocess.py b/keyring/tests/test_multiprocess.py
index 49af222..8fdd1a3 100644
--- a/keyring/tests/test_multiprocess.py
+++ b/keyring/tests/test_multiprocess.py
@@ -11,6 +11,11 @@ def subprocess_get():
     keyring.get_password('test_app', 'test_user')
 
 
+pytestmark = pytest.mark.xfail(
+    platform.system() == 'Linux', reason="#410: keyring discovery fails intermittently"
+)
+
+
 def test_multiprocess_get():
     proc1 = multiprocessing.Process(target=subprocess_get)
     proc1.start()
@@ -23,9 +28,6 @@ def test_multiprocess_get():
     sys.version_info < (3, 8) and platform.system() == 'Darwin',
     reason="#281: Prior to 3.8, multiprocess invocation fails",
 )
-@pytest.mark.xfail(
-    platform.system() == 'Linux', reason="#410: tests fail intermittently"
-)
 def test_multiprocess_get_after_native_get():
     keyring.get_password('test_app', 'test_user')
     test_multiprocess_get()