mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 15:24:46 +08:00
Static analsyis test for complex flow tests (filtering).
This commit is contained in:
11
test/static_analysis/branches.py
Normal file
11
test/static_analysis/branches.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import random
|
||||
|
||||
if random.choice([0, 1]):
|
||||
x = ''
|
||||
else:
|
||||
x = 1
|
||||
|
||||
if x != 1:
|
||||
x = x.upper()
|
||||
else:
|
||||
pass
|
||||
Reference in New Issue
Block a user