]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix test_dis dependency on dict order.
authorGeorg Brandl <georg@python.org>
Mon, 20 Feb 2012 20:41:03 +0000 (21:41 +0100)
committerGeorg Brandl <georg@python.org>
Mon, 20 Feb 2012 20:41:03 +0000 (21:41 +0100)
Lib/test/test_dis.py

index 7a61493c105cb8f1984cc8132047197f887716ac..42466183d8ed5b03e7772d573d522322f677e379 100644 (file)
@@ -268,12 +268,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]