Skip to content

Commit

Permalink
wtf? // debug
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev committed Oct 17, 2024
1 parent 7a64415 commit cb5cdb8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_mpz.py
Original file line number Diff line number Diff line change
Expand Up @@ -1365,7 +1365,8 @@ def test_mpz_rshift():

assert a>>1 == mpz(61)
assert int(a)>>mpz(1) == mpz(61)
assert a>>111111111111111111111 == mpz(0)
b = a>>111111111111111111111
assert b == mpz(0)
assert (-a)>>111111111111111111111 == mpz(-1)

raises(ValueError, lambda: a>>-2)
Expand Down

0 comments on commit cb5cdb8

Please sign in to comment.