Commits

Michael Hudson-Doyle committed 01ed572

add test_nonempty

  • Participants
  • Parent commits c6f68de

Comments (0)

Files changed (1)

File pypy/objspace/std/test/test_dictobject.py

         d = dobj.W_DictObject([])
         self.failIf(self.space.is_true(d))
 
+    def test_nonempty(self):
+        d = dobj.W_DictObject([(self.space.w_None, self.space.w_None)])
+        self.failUnless(self.space.is_true(d))
+
 if __name__ == '__main__':
     unittest.main()