Commits

Philip Jenvey  committed f147803

mmap is no longer a sequence type

  • Participants
  • Parent commits 224ba61
  • Branches py3k

Comments (0)

Files changed (1)

File pypy/module/mmap/test/test_mmap.py

 
         f.close()
 
-    def test_sequence_type(self):
-        from mmap import mmap
-        f = open(self.tmpname + "x", "wb+")
-        f.write(b"foobar")
-        f.flush()
-        m = mmap(f.fileno(), 6)
-        import operator
-        assert operator.isSequenceType(m)
-        assert not operator.isMappingType(m)
-
     def test_buffer(self):
         from mmap import mmap
         f = open(self.tmpname + "y", "bw+")