Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c9d56035
Commit
c9d56035
authored
Jun 22, 2012
by
Larry Hastings
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #14626: Fix buildbot issues on FreeBSD (AMD64). (Fingers crossed.)
parent
6a403c4b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
Lib/test/test_posix.py
Lib/test/test_posix.py
+6
-1
Lib/test/test_shutil.py
Lib/test/test_shutil.py
+1
-1
No files found.
Lib/test/test_posix.py
View file @
c9d56035
...
...
@@ -721,8 +721,13 @@ class PosixTester(unittest.TestCase):
posix
.
utime
(
support
.
TESTFN
,
dir_fd
=
f
,
times
=
(
int
(
now
),
int
((
now
-
int
(
now
))
*
1e9
)))
# try dir_fd and follow_symlinks together
if
os
.
utime
in
os
.
supports_follow_symlinks
:
posix
.
utime
(
support
.
TESTFN
,
follow_symlinks
=
False
,
dir_fd
=
f
)
try
:
posix
.
utime
(
support
.
TESTFN
,
follow_symlinks
=
False
,
dir_fd
=
f
)
except
RuntimeError
:
# whoops! using both together not supported on this platform.
pass
finally
:
posix
.
close
(
f
)
...
...
Lib/test/test_shutil.py
View file @
c9d56035
...
...
@@ -296,7 +296,7 @@ class TestShutil(unittest.TestCase):
def
make_chflags_raiser
(
err
):
ex
=
OSError
()
def
_chflags_raiser
(
path
,
flags
):
def
_chflags_raiser
(
path
,
flags
,
*
,
follow_symlinks
=
True
):
ex
.
errno
=
err
raise
ex
return
_chflags_raiser
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment