This commit is contained in:
parent
153879075f
commit
2b3b95be62
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
import os
|
import os
|
||||||
|
import sysconfig
|
||||||
import unittest
|
import unittest
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
|
@ -444,7 +445,8 @@ class HandlerExceptionTest(unittest.TestCase):
|
||||||
"pyexpat.c", "StartElement")
|
"pyexpat.c", "StartElement")
|
||||||
self.check_traceback_entry(entries[2],
|
self.check_traceback_entry(entries[2],
|
||||||
"test_pyexpat.py", "StartElementHandler")
|
"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:
|
# Test Current* members:
|
||||||
|
|
Loading…
Reference in New Issue