summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dis.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2012-02-20 23:33:36 (GMT)
committerGeorg Brandl <georg@python.org>2012-02-20 23:33:36 (GMT)
commit2fb477c0f0284439d40cb3f46eea45ef42446e53 (patch)
treec8df3747d511256d56ca4af046db7915b5c06096 /Lib/test/test_dis.py
parentb5c793a0b349cb02003433c30a410595b224079f (diff)
parent9edceb3e591063f382ae82e14313813ffc1af0bf (diff)
downloadcpython-2fb477c0f0284439d40cb3f46eea45ef42446e53.zip
cpython-2fb477c0f0284439d40cb3f46eea45ef42446e53.tar.gz
cpython-2fb477c0f0284439d40cb3f46eea45ef42446e53.tar.bz2
Merge 3.2: Issue #13703 plus some related test suite fixes.
Diffstat (limited to 'Lib/test/test_dis.py')
-rw-r--r--Lib/test/test_dis.py25
1 files changed, 13 insertions, 12 deletions
diff --git a/Lib/test/test_dis.py b/Lib/test/test_dis.py
index be38007..1506fe9 100644
--- a/Lib/test/test_dis.py
+++ b/Lib/test/test_dis.py
@@ -350,12 +350,13 @@ Variable names:
6: args
7: kwds
Cell variables:
- 0: e
- 1: d
- 2: f
- 3: y
- 4: x
- 5: z"""
+ 0: [edfxyz]
+ 1: [edfxyz]
+ 2: [edfxyz]
+ 3: [edfxyz]
+ 4: [edfxyz]
+ 5: [edfxyz]"""
+# NOTE: the order of the cell variables above depends on dictionary order!
co_tricky_nested_f = tricky.__func__.__code__.co_consts[1]
@@ -374,12 +375,12 @@ Names:
Variable names:
0: c
Free variables:
- 0: e
- 1: d
- 2: f
- 3: y
- 4: x
- 5: z"""
+ 0: [edfxyz]
+ 1: [edfxyz]
+ 2: [edfxyz]
+ 3: [edfxyz]
+ 4: [edfxyz]
+ 5: [edfxyz]"""
code_info_expr_str = """\
Name: <module>