def test_iterators(self): i = ImmutableDict() self.assertNotIsInstance(i.items(), (list, tuple)) self.assertNotIsInstance(i.keys(), (list, tuple)) self.assertNotIsInstance(i.values(), (list, tuple))