Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1538790 commit 2b3b95bCopy full SHA for 2b3b95b
1 file changed
Lib/test/test_pyexpat.py
@@ -3,6 +3,7 @@
3
4
from io import BytesIO
5
import os
6
+import sysconfig
7
import unittest
8
import traceback
9
@@ -444,7 +445,8 @@ def test_exception(self):
444
445
"pyexpat.c", "StartElement")
446
self.check_traceback_entry(entries[2],
447
"test_pyexpat.py", "StartElementHandler")
- self.assertIn('call_with_frame("StartElement"', entries[1][3])
448
+ if sysconfig.is_python_build():
449
+ self.assertIn('call_with_frame("StartElement"', entries[1][3])
450
451
452
# Test Current* members:
0 commit comments