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
f27f0c79
Commit
f27f0c79
authored
Jul 11, 2018
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test when python-future is not installed.
parent
bebf6a48
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
src/greentest/test__monkey.py
src/greentest/test__monkey.py
+7
-1
No files found.
src/greentest/test__monkey.py
View file @
f27f0c79
...
...
@@ -135,7 +135,13 @@ class TestMonkey(SubscriberCleanupMixin, unittest.TestCase):
and
e
.
module_name
==
'ssl'
)
def
test_patch_queue
(
self
):
import
queue
try
:
import
queue
except
ImportError
:
# Python 2 called this Queue. Note that having
# python-future installed gives us a queue module on
# Python 2 as well.
queue
=
None
if
not
hasattr
(
queue
,
'SimpleQueue'
):
raise
unittest
.
SkipTest
(
"Needs SimpleQueue"
)
# pylint:disable=no-member
...
...
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