Serhiy Storchaka
786e922054
Issue #25911 : Tring to silence deprecation warnings in bytes path walk tests.
2016-03-08 21:26:44 +02:00
Serhiy Storchaka
ada6db7870
Issue #25911 : Tring to silence deprecation warnings in bytes path walk tests.
2016-03-08 21:26:26 +02:00
Serhiy Storchaka
706379ae0d
Backed out changeset da020e408c7f
2016-03-08 21:16:47 +02:00
Serhiy Storchaka
7ab61ae8aa
Backed out changeset f9e22717722d
2016-03-08 21:15:43 +02:00
Serhiy Storchaka
adca8464b1
Backed out changeset 19a3e0e664af
2016-03-08 21:13:35 +02:00
Serhiy Storchaka
238fecd75c
Issues #23808 , #25911 : Trying to fix walk tests on Windows.
...
On Windows a symlink can has the FILE_ATTRIBUTE_DIRECTORY flag.
2016-03-08 16:12:46 +02:00
Serhiy Storchaka
55e3218eee
Issues #23808 , #25911 : Trying to fix walk tests on Windows.
...
On Windows a symlink can has the FILE_ATTRIBUTE_DIRECTORY flag.
2016-03-08 16:12:09 +02:00
Serhiy Storchaka
388b90f28e
Issues #23808 , #25911 : Trying to fix walk tests on Windows.
...
On Windows a symlink can has the FILE_ATTRIBUTE_DIRECTORY flag.
2016-03-08 16:11:26 +02:00
Serhiy Storchaka
ffe96ae10b
Issue #25994 : Added the close() method and the support of the context manager
...
protocol for the os.scandir() iterator.
2016-02-11 13:21:30 +02:00
Serhiy Storchaka
79ad897052
Issue #25911 : Restored support of bytes paths in os.walk() on Windows.
2016-02-08 16:24:15 +02:00
Serhiy Storchaka
5f6a0b4eb2
Issue #25911 : Restored support of bytes paths in os.walk() on Windows.
2016-02-08 16:23:28 +02:00
Serhiy Storchaka
85896f72d5
Issue #25860 : Fixed test failure caused by inconsistency of os.walk() and
...
os.fwalk() parameter names.
2015-12-23 00:37:50 +02:00
Serhiy Storchaka
a17ca19d34
Issue #25860 : Fixed test failure caused by inconsistency of os.walk() and
...
os.fwalk() parameter names.
2015-12-23 00:37:34 +02:00
Serhiy Storchaka
345e78e566
Issue #25860 : os.fwalk() no longer skips remaining directories when error occurs.
...
Original patch by Samson Lee.
2015-12-23 00:09:01 +02:00
Serhiy Storchaka
0bddc9eb15
Issue #25860 : os.fwalk() no longer skips remaining directories when error occurs.
...
Original patch by Samson Lee.
2015-12-23 00:08:24 +02:00
Martin Panter
5e02af4961
Issue #25583 : Merge makedirs fix from 3.5
2015-11-20 02:37:29 +00:00
Martin Panter
97cabb9fa5
Issue #25583 : Merge makedirs fix from 3.4 into 3.5
2015-11-20 02:35:46 +00:00
Martin Panter
a82642f9db
Issue #25583 : Avoid incorrect errors raised by os.makedirs(exist_ok=True)
2015-11-19 04:48:44 +00:00
Martin Panter
e56a919100
Issue #25523 : Merge a-to-an corrections from 3.5
2015-11-02 04:27:17 +00:00
Martin Panter
2eb819f7a8
Issue #25523 : Merge "a" to "an" fixes from 3.4 into 3.5
2015-11-02 04:04:57 +00:00
Martin Panter
7462b64911
Issue #25523 : Correct "a" article to "an" article
...
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.
2015-11-02 03:37:02 +00:00
Victor Stinner
bae2d6203f
Issue #25003 : On Solaris 11.3 or newer, os.urandom() now uses the getrandom()
...
function instead of the getentropy() function. The getentropy() function is
blocking to generate very good quality entropy, os.urandom() doesn't need such
high-quality entropy.
2015-10-01 09:47:30 +02:00
Victor Stinner
d8f432a98c
Issue #25003 : Skip test_os.URandomFDTests on Solaris 11.3 and newer
...
When os.urandom() is implemented with the getrandom() function, it doesn't use
a file descriptor.
2015-09-18 16:24:31 +02:00
Victor Stinner
024364a89a
Merge 3.5 (os.waitpid)
2015-09-15 10:24:27 +02:00
Victor Stinner
d3ffd32767
Issue #25118 : Fix a regression of Python 3.5.0 in os.waitpid() on Windows.
...
Add an unit test on os.waitpid()
2015-09-15 10:11:03 +02:00
Serhiy Storchaka
233cdb3e9c
Marked keystrokes with the :kbd: role.
...
Fixed the case of the "Ctrl-" prefixes.
2015-09-12 17:46:56 +03:00
Serhiy Storchaka
153627c111
Marked keystrokes with the :kbd: role.
...
Fixed the case of the "Ctrl-" prefixes.
2015-09-12 17:46:20 +03:00
Serhiy Storchaka
0424eaf753
Marked keystrokes with the :kbd: role.
...
Fixed the case of the "Ctrl-" prefixes.
2015-09-12 17:45:25 +03:00
Martin Panter
3f560c16e5
Merge 3.5 into 3.6
2015-09-09 06:28:08 +00:00
Martin Panter
6088b7bd49
Merge 3.4 into 3.5
2015-09-09 06:27:43 +00:00
Martin Panter
9499413508
os.sendfile(headers=None, trailers=None) arguments are not actually accepted
...
Needs to be tested on a BSD.
2015-09-09 05:29:24 +00:00
Martin Panter
a122b5a1fd
Issue #23738 : Merge 3.5 into 3.6
2015-09-09 03:01:17 +00:00
Martin Panter
0ff89099c7
Issue #23738 : Merge 3.4 into 3.5
2015-09-09 01:56:53 +00:00
Martin Panter
bf19d16950
Issue #23738 : Document and test actual keyword parameter names
...
Also fix signature because os.utime(..., ns=None) is not allowed.
2015-09-09 01:01:13 +00:00
Berker Peksag
95e0960220
Use setUpClass and tearDownClass correctly in test_os.
...
According to the documentation, they must be decorated as classmethods.
2015-07-21 09:30:09 +03:00
Berker Peksag
036a71bf25
Use setUpClass and tearDownClass correctly in test_os.
...
According to the documentation, they must be decorated as classmethods.
2015-07-21 09:29:48 +03:00
Victor Stinner
fd44384f33
Merge 3.5
2015-07-20 17:13:28 +02:00
Victor Stinner
3d0b8422bc
Merge 3.4
2015-07-20 17:13:16 +02:00
Victor Stinner
c0b1e0f868
Issue #24675 : Avoid DeprecationWarning in test_os
...
Patch written by Martin Panter. I replace tearDown() with addCleanup().
2015-07-20 17:12:57 +02:00
Victor Stinner
138adb8d05
(Merge 3.4) Issue #15745 : Rewrite os.utime() tests in test_os
...
* Don't use the timestamp of an existing file anymore, only use fixed
timestamp
* Enhance the code checking the resolution of the filesystem timestamps.
* Check timestamps with a resolution of 1 microsecond instead of 1 millisecond
* When os.utime() uses the current system clock, tolerate a delta of 20 ms.
Before some os.utime() tolerated a different of 10 seconds.
* Merge duplicated tests and simplify the code
2015-06-12 22:01:54 +02:00
Victor Stinner
e12e7aa3fd
Issue #15745 : Rewrite os.utime() tests in test_os
...
* Don't use the timestamp of an existing file anymore, only use fixed
timestamp
* Enhance the code checking the resolution of the filesystem timestamps.
* Check timestamps with a resolution of 1 microsecond instead of 1 millisecond
* When os.utime() uses the current system clock, tolerate a delta of 20 ms.
Before some os.utime() tolerated a different of 10 seconds.
* Merge duplicated tests and simplify the code
2015-06-12 21:58:00 +02:00
Victor Stinner
cf05970307
Remove unused import on test_os
2015-06-12 21:57:50 +02:00
Victor Stinner
47aacc8f69
Issue #15745 : Rewrite os.utime() tests in test_os
...
* Don't use the timestamp of an existing file anymore, only use fixed
timestamp
* Enhance the code checking the resolution of the filesystem timestamps.
* Check timestamps with a resolution of 1 microsecond instead of 1 millisecond
* When os.utime() uses the current system clock, tolerate a delta of 20 ms.
Before some os.utime() tolerated a different of 10 seconds.
* Merge duplicated tests and simplify the code
2015-06-12 17:26:23 +02:00
Berker Peksag
ce643913a9
Issue #9517 : Move script_helper to the support package.
...
Patch by Christie Wilson.
2015-05-06 06:33:17 +03:00
Victor Stinner
9eb57c5fa5
Issue #22181 : The availability of the getrandom() is now checked in configure,
...
and stored in pyconfig.h as the new HAVE_GETRANDOM_SYSCALL define.
Fix os.urandom() tests using file descriptors if os.urandom() uses getrandom().
2015-03-19 22:21:49 +01:00
Victor Stinner
ebaa81f3b1
Merge 3.4 (test_os)
2015-03-12 10:32:20 +01:00
Victor Stinner
0561c53d78
Issue #23605 : Refactor os.walk() tests to also run them on os.fwalk()
2015-03-12 10:28:24 +01:00
Steve Dower
d5a0be6fc0
Suppress assert dialogs in test_os
2015-03-07 21:25:54 -08:00
Victor Stinner
6036e4431d
Issue #22524 : New os.scandir() function, part of the PEP 471: "os.scandir()
...
function -- a better and faster directory iterator". Patch written by Ben
Hoyt.
2015-03-08 01:58:04 +01:00
Serhiy Storchaka
a9e00d13cd
Issue #20069 : Fixed test_os on Solaris: error message is platform depended.
2015-02-16 08:35:18 +02:00