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
4daeb035
Commit
4daeb035
authored
Mar 21, 2016
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coverage for ssl.py
parent
e5a0ea56
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
gevent/ssl.py
gevent/ssl.py
+3
-3
greentest/testrunner.py
greentest/testrunner.py
+3
-1
No files found.
gevent/ssl.py
View file @
4daeb035
...
@@ -12,13 +12,13 @@ if PY2:
...
@@ -12,13 +12,13 @@ if PY2:
# don't pollute the namespace
# don't pollute the namespace
from
gevent
import
_sslgte279
as
_source
from
gevent
import
_sslgte279
as
_source
else
:
else
:
from
gevent
import
_ssl2
as
_source
from
gevent
import
_ssl2
as
_source
# pragma: no cover
else
:
else
:
# Py3
# Py3
from
gevent
import
_ssl3
as
_source
from
gevent
import
_ssl3
as
_source
# pragma: no cover
for
key
in
_source
.
__dict__
:
for
key
in
_source
.
__dict__
:
if
key
.
startswith
(
'__'
)
and
key
not
in
'__implements__ __all__ __imports__'
.
split
(
):
if
key
.
startswith
(
'__'
)
and
key
not
in
(
'__implements__'
,
'__all__'
,
' __imports__'
):
continue
continue
globals
()[
key
]
=
getattr
(
_source
,
key
)
globals
()[
key
]
=
getattr
(
_source
,
key
)
greentest/testrunner.py
View file @
4daeb035
...
@@ -279,7 +279,9 @@ def main():
...
@@ -279,7 +279,9 @@ def main():
print
(
"Enabling coverage to"
,
os
.
environ
[
'COVERAGE_FILE'
])
print
(
"Enabling coverage to"
,
os
.
environ
[
'COVERAGE_FILE'
])
if
options
.
config
:
if
options
.
config
:
config
=
{}
config
=
{}
six
.
exec_
(
open
(
options
.
config
).
read
(),
config
)
with
open
(
options
.
config
)
as
f
:
config_data
=
f
.
read
()
six
.
exec_
(
config_data
,
config
)
FAILING_TESTS
=
config
[
'FAILING_TESTS'
]
FAILING_TESTS
=
config
[
'FAILING_TESTS'
]
tests
=
discover
(
args
,
options
.
ignore
,
coverage
)
tests
=
discover
(
args
,
options
.
ignore
,
coverage
)
if
options
.
discover
:
if
options
.
discover
:
...
...
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