Skip to content

Commit

Permalink
Close issue #22895: fix test failure introduced by the fix for issue #…
Browse files Browse the repository at this point in the history
  • Loading branch information
pitrou committed Nov 29, 2014
1 parent 1538790 commit 2b3b95b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Lib/test/test_pyexpat.py
Expand Up @@ -3,6 +3,7 @@

from io import BytesIO
import os
import sysconfig
import unittest
import traceback

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 2b3b95b

Please sign in to comment.