[pypy-commit] pypy all_ordered_dicts: fix test

arigo noreply at buildbot.pypy.org
Mon Dec 22 15:28:47 CET 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: all_ordered_dicts
Changeset: r75060:bc4e9c652d8d
Date: 2014-12-22 15:28 +0100
http://bitbucket.org/pypy/pypy/changeset/bc4e9c652d8d/

Log:	fix test

diff --git a/rpython/annotator/test/test_annrpython.py b/rpython/annotator/test/test_annrpython.py
--- a/rpython/annotator/test/test_annrpython.py
+++ b/rpython/annotator/test/test_annrpython.py
@@ -1877,7 +1877,7 @@
                 return None
         a = self.RPythonAnnotator()
         s = a.build_types(f, [int])
-        assert s.knowntype == dict
+        assert s.knowntype == annmodel.SomeOrderedDict.knowntype
 
     def test_const_list_and_none(self):
         def g(l=None):


More information about the pypy-commit mailing list