py-cvs-2001_07_13 (Rev 1.3) merge
[python/dscho.git] / Lib / test / output / test_mmap
blob815cfe35b017069d219223893827c5f2de522086
1 test_mmap
2 <type 'mmap'>
3   Position of foo: 1.0 pages
4   Length of file: 2.0 pages
5   Contents of byte 0: '\x00'
6   Contents of first 3 bytes: '\x00\x00\x00'
8   Modifying file's content...
9   Contents of byte 0: '3'
10   Contents of first 3 bytes: '3\x00\x00'
11   Contents of second page: '\x00foobar\x00'
12   Regex match on mmap (page start, length of match): 1.0 6
13   Seek to zeroth byte
14   Seek to 42nd byte
15   Seek to last byte
16   Try to seek to negative position...
17   Try to seek beyond end of mmap...
18   Try to seek to negative position...
19   Attempting resize()
20  Test passed