Rev 159: Fix the guess_intern_dict test. in http://bazaar.launchpad.net/~meliae-dev/meliae/trunk

John Arbash Meinel john at arbash-meinel.com
Wed Jul 28 21:27:44 BST 2010


At http://bazaar.launchpad.net/~meliae-dev/meliae/trunk

------------------------------------------------------------
revno: 159
revision-id: john at arbash-meinel.com-20100728202728-jkg83mq76uih962e
parent: john at arbash-meinel.com-20100720160827-yagjgqph42ngazll
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: trunk
timestamp: Wed 2010-07-28 15:27:28 -0500
message:
  Fix the guess_intern_dict test.
  
  We added a check that there aren't any objects referencing the intern dict,
  but I didn't notice the dump was referencing the dict.
-------------- next part --------------
=== modified file 'meliae/tests/test_loader.py'
--- a/meliae/tests/test_loader.py	2010-07-16 15:38:56 +0000
+++ b/meliae/tests/test_loader.py	2010-07-28 20:27:28 +0000
@@ -93,7 +93,7 @@
 '{"address": 4, "type": "str", "size": 25, "len": 1, "value": "c", "refs": []}',
 '{"address": 5, "type": "str", "size": 25, "len": 1, "value": "d", "refs": []}',
 '{"address": 6, "type": "dict", "size": 512, "refs": [2, 5, 5, 5, 4, 4, 3, 3]}',
-'{"address": 7, "type": "dict", "size": 512, "refs": [8, 8, 5, 5, 4, 4, 3, 3]}',
+'{"address": 7, "type": "dict", "size": 512, "refs": [6, 6, 5, 5, 4, 4, 3, 3]}',
 '{"address": 8, "type": "dict", "size": 512, "refs": [2, 2, 5, 5, 4, 4, 3, 3]}',
 ]
 



More information about the bazaar-commits mailing list