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
a5f821d5
Commit
a5f821d5
authored
Nov 07, 2018
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test reference from pypy
parent
dd58078c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/gevent/testing/patched_tests_setup.py
src/gevent/testing/patched_tests_setup.py
+1
-1
src/greentest/2.7pypy/test_httpservers.py
src/greentest/2.7pypy/test_httpservers.py
+1
-1
No files found.
src/gevent/testing/patched_tests_setup.py
View file @
a5f821d5
...
...
@@ -1074,7 +1074,7 @@ def disable_tests_in_source(source, filename):
# If we do it on a def-by-def basis, we can break syntax
# if the function is already decorated
pattern
=
r'^import .*'
replacement
=
r'from
.
import patched_tests_setup as _GEVENT_PTS;'
replacement
=
r'from
gevent.testing
import patched_tests_setup as _GEVENT_PTS;'
replacement
+=
r'import unittest as _GEVENT_UTS;'
replacement
+=
r'\
g<
0>'
source
,
n
=
re
.
subn
(
pattern
,
replacement
,
source
,
1
,
re
.
MULTILINE
)
...
...
src/greentest/2.7pypy/test_httpservers.py
View file @
a5f821d5
...
...
@@ -667,7 +667,7 @@ def test_main(verbose=None):
# XXX: gevent: On windows with pypy2, some of these
# tests are incredibly slow or hang in shutdown for unknown
# reasons
import
greentest
import
g
event.testing
as
g
reentest
MySimpleHTTPRequestHandlerTestCase
=
SimpleHTTPRequestHandlerTestCase
MySimpleHTTPServerTestCase
=
SimpleHTTPServerTestCase
MyCGIHTTPServerTestCase
=
CGIHTTPServerTestCase
...
...
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