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
349b04e9
Commit
349b04e9
authored
Oct 25, 2013
by
Christian Heimes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue 19384: Fix test_py_compile for root user, patch by Claudiu Popa.
parent
c4a4b346
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
Lib/test/test_py_compile.py
Lib/test/test_py_compile.py
+3
-0
Misc/NEWS
Misc/NEWS
+5
-0
No files found.
Lib/test/test_py_compile.py
View file @
349b04e9
...
...
@@ -3,6 +3,7 @@ import os
import
py_compile
import
shutil
import
stat
import
sys
import
tempfile
import
unittest
...
...
@@ -75,6 +76,8 @@ class PyCompileTests(unittest.TestCase):
self
.
assertTrue
(
os
.
path
.
exists
(
self
.
pyc_path
))
self
.
assertFalse
(
os
.
path
.
exists
(
self
.
cache_path
))
@
unittest
.
skipIf
(
hasattr
(
os
,
'geteuid'
)
and
os
.
geteuid
()
==
0
,
'non-root user required'
)
@
unittest
.
skipIf
(
os
.
name
==
'nt'
,
'cannot control directory permissions on Windows'
)
def
test_exceptions_propagate
(
self
):
...
...
Misc/NEWS
View file @
349b04e9
...
...
@@ -74,6 +74,11 @@ Library
-
Issue
#
17087
:
Improved
the
repr
for
regular
expression
match
objects
.
Tests
-----
-
Issue
19384
:
Fix
test_py_compile
for
root
user
,
patch
by
Claudiu
Popa
.
Build
-----
...
...
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