aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_isinstance.py
diff options
context:
space:
mode:
authorHood Chatham <roberthoodchatham@gmail.com>2025-03-13 01:28:15 +0100
committerGitHub <noreply@github.com>2025-03-13 08:28:15 +0800
commitdb1e5827c45ad737bf83f358a2851e943626d29b (patch)
treee3eea2ddbddd1673d7a95db6dd8e91e4fa44c8e8 /Lib/test/test_isinstance.py
parent3618240624d98de2a68a79dc174d49efb96cc2e6 (diff)
downloadcpython-db1e5827c45ad737bf83f358a2851e943626d29b.tar.gz
cpython-db1e5827c45ad737bf83f358a2851e943626d29b.zip
gh-127503: Improve tracebacks on Emscripten when there is a trap (#131158)
Modifies the behavior of the interpreter on crash under Emscripten: 1. No Python traceback shown on segfault/trap 2. The JavaScript source line is shown The JavaScript source line is super long and completely unenlightening, whereas the Python traceback is very helpful.
Diffstat (limited to 'Lib/test/test_isinstance.py')
-rw-r--r--Lib/test/test_isinstance.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_isinstance.py b/Lib/test/test_isinstance.py
index 4f98cbb3762..daad00e8643 100644
--- a/Lib/test/test_isinstance.py
+++ b/Lib/test/test_isinstance.py
@@ -327,6 +327,7 @@ class TestIsInstanceIsSubclass(unittest.TestCase):
with self.assertRaises(RecursionError):
issubclass(Failure(), int)
+ @support.skip_emscripten_stack_overflow()
def test_infinite_cycle_in_bases(self):
"""Regression test for bpo-30570."""
class X: