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

This commit is contained in:
Antoine Pitrou 2014-11-29 15:56:07 +01:00
parent 153879075f
commit 2b3b95be62

View file

@ -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: