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
66a18fd8
Commit
66a18fd8
authored
May 05, 2011
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#11873: Improve test regex so random directory names don't cause test to fail
parent
fdc2c559
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Lib/test/test_compileall.py
Lib/test/test_compileall.py
+1
-1
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/test/test_compileall.py
View file @
66a18fd8
...
...
@@ -248,7 +248,7 @@ class CommandLineTests(unittest.TestCase):
self
.
assertEqual
(
b''
,
quiet
)
def
test_regexp
(
self
):
self
.
assertRunOK
(
'-q'
,
'-x'
,
'ba
.*
'
,
self
.
pkgdir
)
self
.
assertRunOK
(
'-q'
,
'-x'
,
'ba
[^
\
/]*$
'
, self.pkgdir)
self.assertNotCompiled(self.barfn)
self.assertCompiled(self.initfn)
...
...
Misc/NEWS
View file @
66a18fd8
...
...
@@ -322,6 +322,9 @@ Extensions
Tests
-----
-
Issue
#
11873
:
Change
regex
in
test_compileall
to
fix
occasional
failures
when
when
the
randomly
generated
temporary
path
happened
to
match
the
regex
.
-
Issue
#
10914
:
Add
a
minimal
embedding
test
to
test_capi
.
-
Issue
#
11790
:
Fix
sporadic
failures
in
test_multiprocessing
.
WithProcessesTestCondition
.
...
...
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