diff options
-rw-r--r-- | Lib/test/output/test_mmap | bin | 542 -> 550 bytes | |||
-rw-r--r-- | Lib/test/test_mmap.py | 3 | ||||
-rw-r--r-- | PCbuild/python20.dsp | 4 |
3 files changed, 5 insertions, 2 deletions
diff --git a/Lib/test/output/test_mmap b/Lib/test/output/test_mmap Binary files differindex 2ceed20..24e28f8 100644 --- a/Lib/test/output/test_mmap +++ b/Lib/test/output/test_mmap diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py index 73c1a15..449c674 100644 --- a/Lib/test/test_mmap.py +++ b/Lib/test/test_mmap.py @@ -40,7 +40,7 @@ def test_both(): assert m[0] == '3' print ' Contents of first 3 bytes:', repr(m[0:3]) assert m[0:3] == '3\0\0' - print ' Contents of second page:', m[PAGESIZE-1 : PAGESIZE + 7] + print ' Contents of second page:', repr(m[PAGESIZE-1 : PAGESIZE + 7]) assert m[PAGESIZE-1 : PAGESIZE + 7] == '\0foobar\0' m.flush() @@ -119,4 +119,3 @@ def test_both(): print ' Test passed' test_both() - diff --git a/PCbuild/python20.dsp b/PCbuild/python20.dsp index 24ebc9a..d3281d3 100644 --- a/PCbuild/python20.dsp +++ b/PCbuild/python20.dsp @@ -694,8 +694,12 @@ SOURCE=..\Modules\getbuildinfo.c !IF "$(CFG)" == "python20 - Win32 Release"
+# ADD CPP /D BUILD=2
+
!ELSEIF "$(CFG)" == "python20 - Win32 Debug"
+# ADD CPP /D BUILD=2
+
!ELSEIF "$(CFG)" == "python20 - Win32 Alpha Debug"
!ELSEIF "$(CFG)" == "python20 - Win32 Alpha Release"
|