mirror of
https://github.com/python/cpython.git
synced 2026-01-07 16:02:55 +00:00
This commit is contained in:
commit
3a9c68e608
1 changed files with 3 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
from io import BytesIO
|
||||
import os
|
||||
import sysconfig
|
||||
import unittest
|
||||
import traceback
|
||||
|
||||
|
|
@ -444,7 +445,8 @@ def test_exception(self):
|
|||
"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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue