Kaydet (Commit) 43275216 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Added regression test for SF #757818

üst 3a03de4a
......@@ -156,3 +156,8 @@ exec """
expect_same(all_one_bits, -1)
expect_same("-" + all_one_bits, 1)
"""
# Verify sequence packing/unpacking with "or". SF bug #757818
i,j = (1, -1) or (-1, 1)
if i != 1 or j != -1:
raise TestFailed, "Sequence packing/unpacking"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment