You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 08:49:51 +08:00
Start splitting out reduction checks
This commit is contained in:
10
test/simple_source/bug36/01_conditional.py
Normal file
10
test/simple_source/bug36/01_conditional.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# From 3.7.6 test_buffer.py
|
||||
|
||||
# RUNNABLE!
|
||||
def foo(n):
|
||||
zero_stride = True if n >= 95 and n & 1 else False
|
||||
return zero_stride
|
||||
|
||||
assert foo(95)
|
||||
assert not foo(94)
|
||||
assert not foo(96)
|
Reference in New Issue
Block a user