Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r53421:f147803b6dc5
Date: 2012-03-12 23:43 -0700
http://bitbucket.org/pypy/pypy/changeset/f147803b6dc5/
Log: mmap is no longer a sequence type
diff --git a/pypy/module/mmap/test/test_mmap.py
b/pypy/module/mmap/test/test_mmap.py
--- a/pypy/module/mmap/test/test_mmap.py
+++ b/pypy/module/mmap/test/test_mmap.py
@@ -528,16 +528,6 @@
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+")
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit