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
e9de4f52
Commit
e9de4f52
authored
Aug 30, 2015
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #12285: Add test capturing failure.
parent
2cf60393
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
Lib/distutils/tests/test_filelist.py
Lib/distutils/tests/test_filelist.py
+10
-0
No files found.
Lib/distutils/tests/test_filelist.py
View file @
e9de4f52
...
...
@@ -6,7 +6,9 @@ from distutils import debug
from
distutils.log
import
WARN
from
distutils.errors
import
DistutilsTemplateError
from
distutils.filelist
import
glob_to_re
,
translate_pattern
,
FileList
from
distutils
import
filelist
import
test.support
from
test.support
import
captured_stdout
from
distutils.tests
import
support
...
...
@@ -292,5 +294,13 @@ class FileListTestCase(support.LoggingSilencer,
self
.
assertWarnings
()
class
FindAllTestCase
(
unittest
.
TestCase
):
@
test
.
support
.
skip_unless_symlink
def
test_missing_symlink
(
self
):
with
test
.
support
.
temp_cwd
():
os
.
symlink
(
'foo'
,
'bar'
)
self
.
assertEqual
(
filelist
.
findall
(),
[])
if
__name__
==
"__main__"
:
unittest
.
main
()
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