summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_mmap.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-01-14 05:05:51 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-01-14 05:05:51 (GMT)
commit2caf8df86802fb24a23ed2cf57674618b5a8f674 (patch)
treed458a669fe9b6733ad2e23eee82b00f39c955b4b /Lib/test/test_mmap.py
parentb9e202b2dc341f6bcca7719eb40d00f5e03ea4cf (diff)
downloadcpython-2caf8df86802fb24a23ed2cf57674618b5a8f674.zip
cpython-2caf8df86802fb24a23ed2cf57674618b5a8f674.tar.gz
cpython-2caf8df86802fb24a23ed2cf57674618b5a8f674.tar.bz2
SF bug 128713: type(mmap_object) blew up on Linux.
Diffstat (limited to 'Lib/test/test_mmap.py')
-rw-r--r--Lib/test/test_mmap.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py
index d07e4c6..7c49cf2 100644
--- a/Lib/test/test_mmap.py
+++ b/Lib/test/test_mmap.py
@@ -18,6 +18,8 @@ def test_both():
f.close()
# 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