Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
cython
Commits
9d45688c
Commit
9d45688c
authored
Feb 07, 2011
by
Lisandro Dalcin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
attempt to fix rmtree Windows issues in test case
parent
19229e84
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
runtests.py
runtests.py
+8
-1
No files found.
runtests.py
View file @
9d45688c
...
@@ -6,6 +6,7 @@ import re
...
@@ -6,6 +6,7 @@ import re
import
gc
import
gc
import
codecs
import
codecs
import
shutil
import
shutil
import
time
import
unittest
import
unittest
import
doctest
import
doctest
import
operator
import
operator
...
@@ -816,7 +817,13 @@ class EndToEndTest(unittest.TestCase):
...
@@ -816,7 +817,13 @@ class EndToEndTest(unittest.TestCase):
def
tearDown
(
self
):
def
tearDown
(
self
):
if
self
.
cleanup_workdir
:
if
self
.
cleanup_workdir
:
for
trial
in
range
(
5
):
try
:
shutil
.
rmtree
(
self
.
workdir
)
shutil
.
rmtree
(
self
.
workdir
)
except
OSError
:
time
.
sleep
(
0.1
)
else
:
break
os
.
chdir
(
self
.
old_dir
)
os
.
chdir
(
self
.
old_dir
)
def
runTest
(
self
):
def
runTest
(
self
):
...
...
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