Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
corona10 committed Dec 24, 2024
1 parent d86e0af commit f5c4d96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Lib/test/test_str.py
Original file line number Diff line number Diff line change
Expand Up @@ -2451,7 +2451,7 @@ def test_expandtabs_optimization(self):
def test_raiseMemError(self):
asciifields = "nnb"
if not support.is_wasi:
asciifields = asciifields + "3x"
asciifields = asciifields + "7x"
compactfields = asciifields + "nP"
ascii_struct_size = support.calcobjsize(asciifields)
compact_struct_size = support.calcobjsize(compactfields)
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_sys.py
Original file line number Diff line number Diff line change
Expand Up @@ -1764,7 +1764,7 @@ class newstyleclass(object): pass
# also update field definitions in test_unicode.test_raiseMemError
asciifields = "nnb"
if not support.is_wasi:
asciifields = asciifields + "3x"
asciifields = asciifields + "7x"
compactfields = asciifields + "nP"
unicodefields = compactfields + "P"
for s in samples:
Expand Down

0 comments on commit f5c4d96

Please sign in to comment.