File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -249,8 +249,8 @@ def test_32_63_bit_values(self):
249249 d = - 281474976710656 # 1 << 48
250250 e = + 4611686018427387904 # 1 << 62
251251 f = - 4611686018427387904 # 1 << 62
252- g = + 9223372036854775807 # 1 << 63 - 1
253- h = - 9223372036854775807 # 1 << 63 - 1
252+ g = + 9223372036854775807 # ( 1 << 63) - 1
253+ h = - 9223372036854775807 # ( 1 << 63) - 1
254254
255255 for variable in self .test_32_63_bit_values .__code__ .co_consts :
256256 if variable is not None :
Original file line number Diff line number Diff line change 383383
384384Some size constraints (all fail.)
385385
386- >>> s = ", ".join("a%d" % i for i in range(1<<8)) + ", *rest = range(1<<8 + 1)"
386+ >>> s = ", ".join("a%d" % i for i in range(1<<8)) + ", *rest = range(( 1<<8) + 1)"
387387 >>> compile(s, 'test', 'exec') # doctest:+ELLIPSIS
388388 Traceback (most recent call last):
389389 ...
390390 SyntaxError: too many expressions in star-unpacking assignment
391391
392- >>> s = ", ".join("a%d" % i for i in range(1<<8 + 1)) + ", *rest = range(1<<8 + 2)"
392+ >>> s = ", ".join("a%d" % i for i in range(( 1<<8) + 1)) + ", *rest = range(( 1<<8) + 2)"
393393 >>> compile(s, 'test', 'exec') # doctest:+ELLIPSIS
394394 Traceback (most recent call last):
395395 ...
Original file line number Diff line number Diff line change @@ -950,7 +950,7 @@ class ZipExtFile(io.BufferedIOBase):
950950 """
951951
952952 # Max size supported by decompressor.
953- MAX_N = 1 << 31 - 1
953+ MAX_N = ( 1 << 31 ) - 1
954954
955955 # Read from compressed files in 4k blocks.
956956 MIN_READ_SIZE = 4096
You can’t perform that action at this time.
0 commit comments