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
cc3f0293
Commit
cc3f0293
authored
Apr 19, 2011
by
Nadeem Vawda
Browse files
Options
Browse Files
Download
Plain Diff
Merge test_startfile fix from 3.1.
parents
530cc097
58de6ee8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
Lib/test/test_startfile.py
Lib/test/test_startfile.py
+5
-0
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/test/test_startfile.py
View file @
cc3f0293
...
...
@@ -11,6 +11,7 @@ import unittest
from
test
import
support
import
os
from
os
import
path
from
time
import
sleep
startfile
=
support
.
get_attribute
(
os
,
'startfile'
)
...
...
@@ -23,6 +24,10 @@ class TestCase(unittest.TestCase):
empty
=
path
.
join
(
path
.
dirname
(
__file__
),
"empty.vbs"
)
startfile
(
empty
)
startfile
(
empty
,
"open"
)
# Give the child process some time to exit before we finish.
# Otherwise the cleanup code will not be able to delete the cwd,
# because it is still in use.
sleep
(
0.1
)
def
test_main
():
support
.
run_unittest
(
TestCase
)
...
...
Misc/NEWS
View file @
cc3f0293
...
...
@@ -751,6 +751,8 @@ Tools/Demos
Tests
-----
-
Fix
test_startfile
to
wait
for
child
process
to
terminate
before
finishing
.
-
Issue
#
10822
:
Fix
test_posix
:
test_getgroups
failure
under
Solaris
.
Patch
by
Ross
Lagerwall
.
...
...
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