Skip to content

Commit

Permalink
Add comment to keep test_sys and test_unicode in sync
Browse files Browse the repository at this point in the history
  • Loading branch information
tiran committed Jun 8, 2022
1 parent 18ecceb commit 5b2d9b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Lib/test/test_sys.py
Original file line number Diff line number Diff line change
Expand Up @@ -1539,6 +1539,7 @@ class newstyleclass(object): pass
samples = ['1'*100, '\xff'*50,
'\u0100'*40, '\uffff'*100,
'\U00010000'*30, '\U0010ffff'*100]
# also update field definitions in test_unicode.test_raiseMemError
asciifields = "nnb"
compactfields = asciifields + "nP"
unicodefields = compactfields + "P"
Expand Down

0 comments on commit 5b2d9b0

Please sign in to comment.