10000 skip test on WASI · python/cpython@79714c2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 79714c2

Browse files
skip test on WASI
1 parent db89f64 commit 79714c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/test/test_email/test_headerregistry.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from email import headerregistry
99
from email.headerregistry import Address, Group
1010
from email.header import decode_header
11-
from test.support import ALWAYS_EQ
11+
from test.support import ALWAYS_EQ, is_wasi, Py_DEBUG
1212

1313

1414
DITTO = object()
@@ -1281,6 +1281,7 @@ def example_as_address(self, source, defects, decoded, display_name,
12811281
# XXX: we have no comment support yet.
12821282
#self.assertEqual(a.comment, comment)
12831283

1284+
@unittest.skipIf(is_wasi and Py_DEBUG, "stack depth too shallow in pydebug WASI")
12841285
def example_as_group(self, source, defects, decoded, display_name,
12851286
addr_spec, username, domain, comment):
12861287
source = 'foo: {};'.format(source)

0 commit comments

Comments
 (0)
0