[Python-checkins] CVS: python/dist/src/Lib/test test_mmap.py,1.12,1.13
Tim Peters
python-dev@python.org
Sat, 13 Jan 2001 21:05:53 -0800
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv12935/python/dist/src/Lib/test
Modified Files:
test_mmap.py
Log Message:
SF bug 128713: type(mmap_object) blew up on Linux.
Index: test_mmap.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_mmap.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** test_mmap.py 2000/12/12 23:11:42 1.12
--- test_mmap.py 2001/01/14 05:05:51 1.13
***************
*** 19,22 ****
--- 19,24 ----
# Simple sanity checks
+
+ print type(m) # SF bug 128713: segfaulted on Linux
print ' Position of foo:', string.find(m, 'foo') / float(PAGESIZE), 'pages'
assert string.find(m, 'foo') == PAGESIZE