Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
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
Kirill Smelkov
gevent
Commits
b0f6f674
Commit
b0f6f674
authored
Jul 27, 2012
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
helper.py: fix run() to accept assets
parent
38c3a65c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
greentest/helper.py
greentest/helper.py
+2
-3
No files found.
greentest/helper.py
View file @
b0f6f674
...
...
@@ -89,9 +89,8 @@ def prepare_stdlib_test(filename, assets=None):
return
module_code
def
copy_assets
(
source
,
assets
):
def
copy_assets
(
directory
,
assets
):
if
assets
:
directory
=
os
.
path
.
dirname
(
filename
)
cwd
=
os
.
getcwd
()
os
.
chdir
(
directory
)
try
:
...
...
@@ -104,4 +103,4 @@ def copy_assets(source, assets):
def
run
(
filename
,
d
,
assets
=
None
):
exec
prepare_stdlib_test
(
filename
)
in
d
exec
prepare_stdlib_test
(
filename
,
assets
)
in
d
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