summaryrefslogtreecommitdiff
path: root/dev-python/keyring/files/keyring-19.1.0-tests.patch
blob: 0e4bdfd1960ef63e2e9e480a88b023298aff8f55 (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
27
28
29
30
31
32
33
34
diff --git a/keyring/tests/test_errors.py b/keyring/tests/test_errors.py
index a90905f..1d5f568 100644
--- a/keyring/tests/test_errors.py
+++ b/keyring/tests/test_errors.py
@@ -1,5 +1,8 @@
+import platform
+import unittest
 from unittest import mock
 
+import pytest
 from keyring import errors
 
 
@@ -13,6 +16,7 @@ class DeletionDetector:
 
 
 class TestExceptionInfo:
+    @pytest.mark.skipif("pypy" in platform.python_implementation().lower(), reason="broken on pypy")
     def test_traceback_not_referenced(self):
         """
         Ensure that an ExceptionInfo does not keep a reference
diff --git a/tests/test_packaging.py b/tests/test_packaging.py
index 3ede719..4bdfa25 100644
--- a/tests/test_packaging.py
+++ b/tests/test_packaging.py
@@ -1,6 +1,7 @@
 import pkg_resources
+import pytest
 
-
+@pytest.mark.skip("for some reason we are getting 2 of the same entry point")
 def test_entry_point():
     """
     Keyring provides exactly one 'keyring' console script