Python: Fix broken test of global typetracker flow

The missing `global g` annotation meant `g = x` was interpreted as a
local assignment.
This commit is contained in:
Taus Brock-Nannestad
2020-09-11 18:17:25 +02:00
parent e91d321d28
commit e0f5b208da

View File

@@ -38,6 +38,7 @@ def quux():
g = None
def write_g(x): # $tracked
global g
g = x # $tracked
def use_g():