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
72ada7d2
Commit
72ada7d2
authored
Dec 17, 2013
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test__all__.py: pep8 fix on python3 #38
parent
97d64ff4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
greentest/test__all__.py
greentest/test__all__.py
+2
-2
No files found.
greentest/test__all__.py
View file @
72ada7d2
...
@@ -43,7 +43,7 @@ class Test(unittest.TestCase):
...
@@ -43,7 +43,7 @@ class Test(unittest.TestCase):
assert
self
.
modname
in
NO_ALL
assert
self
.
modname
in
NO_ALL
return
return
names
=
{}
names
=
{}
exec
(
"from %s import *"
%
self
.
modname
)
in
names
exec
(
"from %s import *"
%
self
.
modname
)
in
names
names
.
pop
(
'__builtins__'
,
None
)
names
.
pop
(
'__builtins__'
,
None
)
self
.
assertEqual
(
sorted
(
names
),
sorted
(
self
.
module
.
__all__
))
self
.
assertEqual
(
sorted
(
names
),
sorted
(
self
.
module
.
__all__
))
...
@@ -176,7 +176,7 @@ are missing from %r:
...
@@ -176,7 +176,7 @@ are missing from %r:
for
path
,
modname
in
walk_modules
(
include_so
=
True
):
for
path
,
modname
in
walk_modules
(
include_so
=
True
):
modname
=
modname
.
replace
(
'gevent.'
,
''
).
split
(
'.'
)[
0
]
modname
=
modname
.
replace
(
'gevent.'
,
''
).
split
(
'.'
)[
0
]
exec
(
'''def test_%s(self): self._test("gevent.%s")'''
%
(
modname
,
modname
))
exec
(
'''def test_%s(self): self._test("gevent.%s")'''
%
(
modname
,
modname
))
del
path
,
modname
del
path
,
modname
...
...
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