Browse Source

objint_longlong: Add regression test for improper inplace op implementation.

pull/355/head
Paul Sokolovsky 11 years ago
parent
commit
42901554db
  1. 7
      tests/basics/int-long.py

7
tests/basics/int-long.py

@ -37,3 +37,10 @@ a <<= 5
print(a)
a >>= 1
print(a)
# Test referential integrity of long ints
a = 0x1ffffffff
b = a
a += 1
print(a)
print(b)

Loading…
Cancel
Save