Commit 00cafa0f authored by Tim Peters's avatar Tim Peters

Removed print that executes only on Unix boxes; that made it impossible

to have single "expected output" file.
parent 5ebfd36a
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment