Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								a4f46e1292 
								
							 
						 
						
							
							
								
								Remove unused imports in test modules.  
							
							
							
						 
						
							2010-02-07 17:03:15 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ezio Melotti 
								
							 
						 
						
							
							
							
							
								
							
							
								aa98058cc4 
								
							 
						 
						
							
							
								
								use assert[Not]In where appropriate  
							
							
							
						 
						
							2010-01-23 23:04:36 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Dickinson 
								
							 
						 
						
							
							
							
							
								
							
							
								1b34d2552c 
								
							 
						 
						
							
							
								
								Issue  #5080 : turn the DeprecationWarning from float arguments passed  
							
							... 
							
							
							
							to integer PyArg_Parse* format codes into a TypeError.  Add a
DeprecationWarning for floats passed with the 'L' format code, which
didn't previously have a warning. 
							
						 
						
							2010-01-01 17:27:30 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									R. David Murray 
								
							 
						 
						
							
							
							
							
								
							
							
								46ca2f25eb 
								
							 
						 
						
							
							
								
								Backport of fix for issue 6542: make sure  
							
							... 
							
							
							
							test_os.TestInvalidFD.test_closerange does not close any
valid file descriptors. 
							
						 
						
							2009-07-22 17:22:58 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								5c8da86f3a 
								
							 
						 
						
							
							
								
								convert usage of fail* to assert*  
							
							
							
						 
						
							2009-06-30 22:57:08 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								757b3c90e6 
								
							 
						 
						
							
							
								
								use skipTest()  
							
							
							
						 
						
							2009-05-16 18:44:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gregory P. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								6d30793cf2 
								
							 
						 
						
							
							
								
								Fixes issue5705: os.setuid() and friends did not accept the same range of  
							
							... 
							
							
							
							values that pwd.getpwnam() returns. 
							
						 
						
							2009-04-05 23:43:58 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kristján Valur Jónsson 
								
							 
						 
						
							
							
							
							
								
							
							
								e20f54f542 
								
							 
						 
						
							
							
								
								Fix a number of Win32ErrorTests error cases.  chmod wasn't being tested.  'access' never raises an error.  
							
							
							
						 
						
							2009-02-06 10:17:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								1de05e9b2a 
								
							 
						 
						
							
							
								
								check the errno in bad fd cases  
							
							
							
						 
						
							2009-01-31 01:42:55 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								1f01cd013f 
								
							 
						 
						
							
							
								
								I'm sick of these deprecations warnings in test_os  
							
							
							
						 
						
							2009-01-19 21:08:37 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								5539c78391 
								
							 
						 
						
							
							
								
								make bad file descriptor tests more robust  
							
							
							
						 
						
							2009-01-19 17:37:42 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kristján Valur Jónsson 
								
							 
						 
						
							
							
							
							
								
							
							
								2e659ce36f 
								
							 
						 
						
							
							
								
								Issue 4957  
							
							... 
							
							
							
							Let os.ftruncate raise OSError like documented. 
							
						 
						
							2009-01-19 13:10:27 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								f320c22701 
								
							 
						 
						
							
							
								
								trying to find some fpathconf() settings that all unixs support...  
							
							
							
						 
						
							2009-01-17 04:39:05 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kristján Valur Jónsson 
								
							 
						 
						
							
							
							
							
								
							
							
								4f69b7e33b 
								
							 
						 
						
							
							
								
								Make all the invalid fd tests for os subject to the function being available.  
							
							
							
						 
						
							2009-01-15 22:46:26 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kristján Valur Jónsson 
								
							 
						 
						
							
							
							
							
								
							
							
								71ba215d6b 
								
							 
						 
						
							
							
								
								Fix two test cases in test_os.  ftruncate raises IOError unlike all the others which raise OSError.  And close() on some platforms doesn't complain when given an invalid file descriptor.  
							
							
							
						 
						
							2009-01-15 22:40:03 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kristján Valur Jónsson 
								
							 
						 
						
							
							
							
							
								
							
							
								8adc0b54d4 
								
							 
						 
						
							
							
								
								Fix recently introduced test cases.  
							
							... 
							
							
							
							For datetime, gentoo didn't seem to mind the %e format for strftime.  So, we just excercise those instead making sure that we don't crash.
For test_os, two cases were incorrect. 
							
						 
						
							2009-01-15 09:09:13 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kristján Valur Jónsson 
								
							 
						 
						
							
							
							
							
								
							
							
								1c62b650d0 
								
							 
						 
						
							
							
								
								Add tests for invalid format specifiers in strftime, and for handling of invalid file descriptors in the os module.  
							
							
							
						 
						
							2009-01-12 18:09:27 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hirokazu Yamamoto 
								
							 
						 
						
							
							
							
							
								
							
							
								74ce88fd67 
								
							 
						 
						
							
							
								
								Issue  #3804 : Added test for Issue  #2222 .  
							
							... 
							
							
							
							Reviewed by Benjamin Peterson. 
							
						 
						
							2008-09-08 23:03:47 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gregory P. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								d712203d17 
								
							 
						 
						
							
							
								
								Issue  #3708 : os.urandom no longer goes into an infinite loop when passed a  
							
							... 
							
							
							
							non-integer floating point number. 
							
						 
						
							2008-09-02 05:36:11 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hirokazu Yamamoto 
								
							 
						 
						
							
							
							
							
								
							
							
								cd3b74d4e8 
								
							 
						 
						
							
							
								
								Reverted r65900. See  http://mail.python.org/pipermail/python-checkins/2008-August/073116.html  
							
							
							
						 
						
							2008-08-20 16:15:28 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hirokazu Yamamoto 
								
							 
						 
						
							
							
							
							
								
							
							
								ccfdcd0cb2 
								
							 
						 
						
							
							
								
								fixed get_file_system in test_os.py ('path' is unicode on py3k and ansi on trunk)  
							
							
							
						 
						
							2008-08-20 04:13:28 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								954ea64753 
								
							 
						 
						
							
							
								
								#3580 : fix a failure in test_os  
							
							
							
						 
						
							2008-08-17 20:15:07 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								bebb18bef5 
								
							 
						 
						
							
							
								
								backport r65723: strengthen test_os.test_closerange  
							
							
							
						 
						
							2008-08-17 14:43:41 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
							
							
								
							
							
								90f2cb422f 
								
							 
						 
						
							
							
								
								Remove the last usage of statvfs in the stdlib.  
							
							
							
						 
						
							2008-05-16 00:37:42 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								d2bbe526c3 
								
							 
						 
						
							
							
								
								Patch  #2232 : os.tmpfile might fail on Windows if the user has no  
							
							... 
							
							
							
							permission to create files in the root directory.
Will backport to 2.5. 
							
						 
						
							2008-03-06 06:55:22 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								309501a617 
								
							 
						 
						
							
							
								
								#1663329 : add os.closerange() to close a range of fds,  
							
							... 
							
							
							
							ignoring errors, and use this in subprocess to speed up
subprocess creation in close_fds mode. Patch by Mike Klaas. 
							
						 
						
							2008-01-19 20:22:13 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								7dcb83cdc5 
								
							 
						 
						
							
							
								
								Bug  #1709599 : Run test_1565150 only if the file system is NTFS.  
							
							
							
						 
						
							2007-08-30 19:04:09 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Neal Norwitz 
								
							 
						 
						
							
							
							
							
								
							
							
								0d4c06e06e 
								
							 
						 
						
							
							
								
								Whitespace normalization.  Ugh, we really need to do this more often.  
							
							... 
							
							
							
							You might want to review this change as it's my first time.  Be gentle. :-) 
							
						 
						
							2007-04-25 06:30:05 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Žiga Seilnacht 
								
							 
						 
						
							
							
							
							
								
							
							
								18ffe42b4b 
								
							 
						 
						
							
							
								
								Fix WalkTests.test_traversal() on Windows.  The cleanup in  
							
							... 
							
							
							
							MakedirTests.setUp() can now be removed. 
							
						 
						
							2007-04-04 18:38:47 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								3bf573f918 
								
							 
						 
						
							
							
								
								Bug  #1686475 : Support stat'ing open files on Windows again.  
							
							... 
							
							
							
							Will backport to 2.5. 
							
						 
						
							2007-04-04 18:30:36 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Collin Winter 
								
							 
						 
						
							
							
							
							
								
							
							
								1520fe4e58 
								
							 
						 
						
							
							
								
								Shut up an occaisonal buildbot error due to test files being left around.  
							
							
							
						 
						
							2007-03-31 19:31:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								cae9f3d916 
								
							 
						 
						
							
							
								
								New test for rev. 54407 which only uses directories under TESTFN.  
							
							
							
						 
						
							2007-03-21 09:10:29 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Neal Norwitz 
								
							 
						 
						
							
							
							
							
								
							
							
								c990f6454f 
								
							 
						 
						
							
							
								
								Try backing out 54407 to see if it corrects the problems on the Windows  
							
							... 
							
							
							
							buildbots.  This rev was backported, so we will need to keep both branches
in sync, pending the outcome of the test after this checkin. 
							
						 
						
							2007-03-20 05:23:09 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								8844e438b1 
								
							 
						 
						
							
							
								
								Patch  #1273829 : os.walk() now has a "followlinks" parameter. If set to  
							
							... 
							
							
							
							True (which is not the default), it visits symlinks pointing to
directories. 
							
						 
						
							2007-03-16 08:22:40 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								a97e06d9db 
								
							 
						 
						
							
							
								
								Round to int, because some systems support sub-second time stamps in stat, but not in utime.  
							
							... 
							
							
							
							Also be consistent with modifying only mtime, not atime. 
							
						 
						
							2006-10-15 11:02:07 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								cfcd3a9569 
								
							 
						 
						
							
							
								
								Loosen the test for equal time stamps.  
							
							
							
						 
						
							2006-10-15 09:35:51 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								18aaa568fd 
								
							 
						 
						
							
							
								
								Patch  #1576166 : Support os.utime for directories on Windows NT+.  
							
							
							
						 
						
							2006-10-15 08:43:33 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								f43893a878 
								
							 
						 
						
							
							
								
								Bug  #1565150 : Fix subsecond processing for os.utime on Windows.  
							
							
							
						 
						
							2006-10-09 20:44:25 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tim Peters 
								
							 
						 
						
							
							
							
							
								
							
							
								16a3932774 
								
							 
						 
						
							
							
								
								Whitespace normalization.  
							
							
							
						 
						
							2006-07-03 08:23:19 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								ee1e06d497 
								
							 
						 
						
							
							
								
								Correct arithmetic in access on Win32.  Fixes   #1513646 .  
							
							
							
						 
						
							2006-07-02 18:44:00 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								d4e3bb3d39 
								
							 
						 
						
							
							
								
								Port access, chmod, parts of getcwdu, mkdir, and utime to direct Win32 API.  
							
							
							
						 
						
							2006-05-06 16:32:54 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								8e0d494e41 
								
							 
						 
						
							
							
								
								Implement os.{chdir,rename,rmdir,remove} using Win32 directly.  
							
							
							
						 
						
							2006-05-04 10:08:42 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								5510f65f5a 
								
							 
						 
						
							
							
								
								Avoid using items() in environ.update().  Fixes   #1124513 .  
							
							... 
							
							
							
							Will backport to 2.4. 
							
						 
						
							2005-02-17 21:23:20 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								1d11de6dbd 
								
							 
						 
						
							
							
								
								Revert os.py 1.75, and directly implement update.  
							
							... 
							
							
							
							Fixes  #1110478  and #1100235 . 
						
							2005-01-29 13:29:23 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								4d394dfebb 
								
							 
						 
						
							
							
								
								Truncate st_?time before comparing it with ST_?TIME in the tests.  
							
							
							
						 
						
							2005-01-23 09:19:22 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tim Peters 
								
							 
						 
						
							
							
							
							
								
							
							
								45e77c55ff 
								
							 
						 
						
							
							
								
								Whitespace normalization.  
							
							
							
						 
						
							2004-08-29 18:47:31 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								dc3883f671 
								
							 
						 
						
							
							
								
								Patch  #934711 : Expose platform-specific entropy.  
							
							
							
						 
						
							2004-08-29 15:46:35 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tim Peters 
								
							 
						 
						
							
							
							
							
								
							
							
								4182cfd7db 
								
							 
						 
						
							
							
								
								test_devnull():  Use assertEqual() instead of an assert stmt.  
							
							
							
						 
						
							2004-06-08 20:34:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								bdec50f027 
								
							 
						 
						
							
							
								
								Feature request  #935915 : Add os.path.devnull.  
							
							
							
						 
						
							2004-06-08 08:29:33 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Walter Dörwald 
								
							 
						 
						
							
							
							
							
								
							
							
								118f931d07 
								
							 
						 
						
							
							
								
								Rename class attribute containing the class to be tested, so the name is the  
							
							... 
							
							
							
							same as for the string and sequence tests. 
							
						 
						
							2004-06-02 18:42:25 +00:00