changeset: 93656:4990157343c6 parent: 93654:bd97eab25c70 parent: 93655:e4b986350feb user: Antoine Pitrou date: Sat Nov 29 15:56:38 2014 +0100 description: Close issue #22895: fix test failure introduced by the fix for issue #22462. diff -r bd97eab25c70 -r 4990157343c6 Lib/test/test_pyexpat.py --- a/Lib/test/test_pyexpat.py Fri Nov 28 15:22:15 2014 -0800 +++ b/Lib/test/test_pyexpat.py Sat Nov 29 15:56:38 2014 +0100 @@ -3,6 +3,7 @@ from io import BytesIO import os +import sysconfig import unittest import traceback @@ -444,7 +445,8 @@ "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: