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.
2 parents df46e2a + 2b3b95b commit 3a9c68eCopy full SHA for 3a9c68e
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