changeset: 93655:e4b986350feb branch: 3.4 parent: 93653:21257f916668 user: Antoine Pitrou date: Sat Nov 29 15:56:07 2014 +0100 files: Lib/test/test_pyexpat.py description: Close issue #22895: fix test failure introduced by the fix for issue #22462. diff -r 21257f916668 -r e4b986350feb Lib/test/test_pyexpat.py --- a/Lib/test/test_pyexpat.py Fri Nov 28 15:21:12 2014 -0800 +++ b/Lib/test/test_pyexpat.py Sat Nov 29 15:56:07 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: