summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_exceptions.py
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2021-08-16 08:36:49 (GMT)
committerGitHub <noreply@github.com>2021-08-16 08:36:49 (GMT)
commit62bc716fde20fcb7b47416c7959be9e66df93212 (patch)
tree2d8a33d9484a53147719aa591cb193e2b56ea912 /Lib/test/test_exceptions.py
parent2cb1a6806c0cefab0c3a40fdd428a89a4392570e (diff)
downloadcpython-62bc716fde20fcb7b47416c7959be9e66df93212.zip
cpython-62bc716fde20fcb7b47416c7959be9e66df93212.tar.gz
cpython-62bc716fde20fcb7b47416c7959be9e66df93212.tar.bz2
bpo-44895: skip test_no_hang_on_context_chain_cycle2 until the refleak is fixed (GH-27761)
Diffstat (limited to 'Lib/test/test_exceptions.py')
-rw-r--r--Lib/test/test_exceptions.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py
index 947d713..ce7b868 100644
--- a/Lib/test/test_exceptions.py
+++ b/Lib/test/test_exceptions.py
@@ -1012,11 +1012,9 @@ class ExceptionTests(unittest.TestCase):
self.assertIsInstance(exc.__context__, ValueError)
self.assertIs(exc.__context__.__context__, exc.__context__)
+ @unittest.skip("See issue 44895")
def test_no_hang_on_context_chain_cycle2(self):
# See issue 25782. Cycle at head of context chain.
- while gc.collect():
- # Remove this once issue 44895 is resolved
- pass
class A(Exception):
pass