diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/misc/non_compliant.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/misc/non_compliant.py b/tests/misc/non_compliant.py index 0cf462abb9..9c55ac2c38 100644 --- a/tests/misc/non_compliant.py +++ b/tests/misc/non_compliant.py @@ -70,20 +70,22 @@ try: except NotImplementedError: print('NotImplementedError') +mpz = 1 << 70 + # mpz and with both args negative try: - -(1<<70) & -2 + -mpz & -2 except NotImplementedError: print('NotImplementedError') # mpz or with args opposite sign try: - -(1<<70) | 2 + -mpz | 2 except NotImplementedError: print('NotImplementedError') # mpz xor with args opposite sign try: - -(1<<70) ^ 2 + -mpz ^ 2 except NotImplementedError: print('NotImplementedError') |