diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-11-13 23:39:47 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-11-13 23:39:47 (GMT) |
commit | 00cafa0f76aa5860386d6fecabc61132cc7711a4 (patch) | |
tree | cb4eca3934e6acb3389267b42ac9de09e2118817 /Lib/test/test_mmap.py | |
parent | 5ebfd36afa9093099ab23e4d1256274ae7ee6978 (diff) | |
download | cpython-00cafa0f76aa5860386d6fecabc61132cc7711a4.zip cpython-00cafa0f76aa5860386d6fecabc61132cc7711a4.tar.gz cpython-00cafa0f76aa5860386d6fecabc61132cc7711a4.tar.bz2 |
Removed print that executes only on Unix boxes; that made it impossible
to have single "expected output" file.
Diffstat (limited to 'Lib/test/test_mmap.py')
-rw-r--r-- | Lib/test/test_mmap.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py index 6bb974e..f3d1538 100644 --- a/Lib/test/test_mmap.py +++ b/Lib/test/test_mmap.py @@ -229,8 +229,8 @@ def test_both(): verify(0, "Invalid access code should have raised exception.") if os.name == "posix": - print " Trying incompatible flags, prot and access parameters." - f=open(TESTFN, "r+b") + # Try incompatible flags, prot and access parameters. + f = open(TESTFN, "r+b") try: m = mmap.mmap(f.fileno(), mapsize, flags=mmap.MAP_PRIVATE, prot=mmap.PROT_READ, access=mmap.ACCESS_WRITE) |