From: Tim Peters Date: Tue, 13 Nov 2001 23:39:47 +0000 (+0000) Subject: Removed print that executes only on Unix boxes; that made it impossible X-Git-Tag: v2.2.1c1~773 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00cafa0f76aa5860386d6fecabc61132cc7711a4;p=python Removed print that executes only on Unix boxes; that made it impossible to have single "expected output" file. --- diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py index 6bb974eb84..f3d1538f7e 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)