File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
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 543543
544544Some size constraints (all fail.)
545545
546- >>> s = ", ".join("a%d" % i for i in range(1<<8)) + ", *rest = range(1<<8 + 1)"
546+ >>> s = ", ".join("a%d" % i for i in range(1<<8)) + ", *rest = range(( 1<<8) + 1)"
547547 >>> compile(s, 'test', 'exec') # doctest:+ELLIPSIS
548548 Traceback (most recent call last):
549549 ...
550550 SyntaxError: too many expressions in star-unpacking assignment
551551
552- >>> s = ", ".join("a%d" % i for i in range(1<<8 + 1)) + ", *rest = range(1<<8 + 2)"
552+ >>> s = ", ".join("a%d" % i for i in range(( 1<<8) + 1)) + ", *rest = range(( 1<<8) + 2)"
553553 >>> compile(s, 'test', 'exec') # doctest:+ELLIPSIS
554554 Traceback (most recent call last):
555555 ...
You can’t perform that action at this time.
0 commit comments