Kaydet (Commit) 2b3b95be authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Close issue #22895: fix test failure introduced by the fix for issue #22462.

üst 15387907
......@@ -3,6 +3,7 @@
from io import BytesIO
import os
import sysconfig
import unittest
import traceback
......@@ -444,7 +445,8 @@ class HandlerExceptionTest(unittest.TestCase):
"pyexpat.c", "StartElement")
self.check_traceback_entry(entries[2],
"test_pyexpat.py", "StartElementHandler")
self.assertIn('call_with_frame("StartElement"', entries[1][3])
if sysconfig.is_python_build():
self.assertIn('call_with_frame("StartElement"', entries[1][3])
# Test Current* members:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment