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
84ad7ebe
Commit
84ad7ebe
authored
Jan 03, 2012
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test__ares_host_result.py: add test for protocol 3 when available (on python3)
parent
20f6d7b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
greentest/test__ares_host_result.py
greentest/test__ares_host_result.py
+6
-0
No files found.
greentest/test__ares_host_result.py
View file @
84ad7ebe
...
...
@@ -22,6 +22,12 @@ class TestPickle(unittest.TestCase):
def
test2
(
self
):
return
self
.
_test
(
2
)
if
pickle
.
HIGHEST_PROTOCOL
==
3
:
def
test3
(
self
):
return
self
.
_test
(
3
)
else
:
assert
pickle
.
HIGHEST_PROTOCOL
==
2
,
pickle
.
HIGHEST_PROTOCOL
if
__name__
==
'__main__'
:
unittest
.
main
()
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