summaryrefslogtreecommitdiffstats
path: root/Lib/dos-8x3/test_gra.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/dos-8x3/test_gra.py')
-rwxr-xr-xLib/dos-8x3/test_gra.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/dos-8x3/test_gra.py b/Lib/dos-8x3/test_gra.py
index ef7c09b..68cae81 100755
--- a/Lib/dos-8x3/test_gra.py
+++ b/Lib/dos-8x3/test_gra.py
@@ -355,6 +355,13 @@ def f():
del z
exec 'z=1+1'
if z <> 2: raise TestFailed, 'exec \'z=1+1\''
+ z = None
+ del z
+ exec u'z=1+1\n'
+ if z <> 2: raise TestFailed, 'exec u\'z=1+1\'\\n'
+ del z
+ exec u'z=1+1'
+ if z <> 2: raise TestFailed, 'exec u\'z=1+1\''
f()
g = {}
exec 'z = 1' in g