[Python-checkins] python/dist/src/Lib/test regrtest.py, 1.166, 1.167 test_functional.py, 1.3, 1.4 test_mmap.py, 1.31, 1.32 test_subprocess.py, 1.20, 1.21 test_xdrlib.py, 1.1, 1.2

tim_one at users.sourceforge.net tim_one at users.sourceforge.net
Mon Mar 28 03:08:06 CEST 2005


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23805/Lib/test
Modified Files:
	regrtest.py test_functional.py test_mmap.py test_subprocess.py 
	test_xdrlib.py 
Log Message:
Whitespace normalization.
Index: regrtest.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/regrtest.py,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -d -r1.166 -r1.167
--- regrtest.py	3 Mar 2005 20:47:37 -0000	1.166
+++ regrtest.py	28 Mar 2005 01:08:03 -0000	1.167
@@ -93,7 +93,7 @@
 in the standard library and test suite. This takes
 a long time.
 
- subprocess Run all tests for the subprocess module. 
+ subprocess Run all tests for the subprocess module.
 
 To enable all resources except one, use '-uall,-<resource>'. For
 example, to run all the tests except for the bsddb tests, give the
Index: test_functional.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_functional.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- test_functional.py	11 Mar 2005 06:48:49 -0000	1.3
+++ test_functional.py	28 Mar 2005 01:08:04 -0000	1.4
@@ -139,7 +139,7 @@
 self.assertEqual(join(data), '0123456789')
 join = self.thetype(''.join)
 self.assertEqual(join(data), '0123456789')
- 
+
 class PartialSubclass(functional.partial):
 pass
 
Index: test_mmap.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_mmap.py,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- test_mmap.py	3 Mar 2005 11:22:41 -0000	1.31
+++ test_mmap.py	28 Mar 2005 01:08:04 -0000	1.32
@@ -321,7 +321,7 @@
 f.close()
 
 f = open(TESTFN, "rb+")
- mf = mmap.mmap(f.fileno(), 0) 
+ mf = mmap.mmap(f.fileno(), 0)
 verify(len(mf) == 2**16, "Map size should equal file size.")
 vereq(mf.read(2**16), 2**16 * "m")
 mf.close()
@@ -329,7 +329,7 @@
 
 finally:
 os.unlink(TESTFN)
- 
+
 # test mapping of entire file by passing 0 for map length
 if hasattr(os, "stat"):
 print " Ensuring that passing 0 as map length sets map size to current file size."
@@ -337,17 +337,17 @@
 try:
 f.write(2**16 * 'm') # Arbitrary character
 f.close()
- 
+
 f = open(TESTFN, "rb+")
- mf = mmap.mmap(f.fileno(), 0) 
+ mf = mmap.mmap(f.fileno(), 0)
 verify(len(mf) == 2**16, "Map size should equal file size.")
 vereq(mf.read(2**16), 2**16 * "m")
 mf.close()
 f.close()
- 
+
 finally:
 os.unlink(TESTFN)
- 
+
 print ' Test passed'
 
 test_both()
Index: test_subprocess.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_subprocess.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- test_subprocess.py	5 Mar 2005 06:40:52 -0000	1.20
+++ test_subprocess.py	28 Mar 2005 01:08:04 -0000	1.21
@@ -387,7 +387,7 @@
 if test_support.is_resource_enabled("subprocess") and not mswindows:
 max_handles = 1026 # too much for most UNIX systems
 else:
- max_handles = 65 
+ max_handles = 65
 for i in range(max_handles):
 p = subprocess.Popen([sys.executable, "-c",
 "import sys;sys.stdout.write(sys.stdin.read())"],
Index: test_xdrlib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_xdrlib.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- test_xdrlib.py	24 Feb 2005 20:22:11 -0000	1.1
+++ test_xdrlib.py	28 Mar 2005 01:08:04 -0000	1.2
@@ -1,4 +1,3 @@
 import xdrlib
 
 xdrlib._test()
-


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /