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
5a252e03
Commit
5a252e03
authored
Nov 12, 2018
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct a path problem for lock_tests I couldn't produce locally.
parent
9d5dd4e1
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
9 deletions
+10
-9
appveyor.yml
appveyor.yml
+1
-1
src/gevent/testing/patched_tests_setup.py
src/gevent/testing/patched_tests_setup.py
+4
-3
src/gevent/testing/util.py
src/gevent/testing/util.py
+1
-1
src/gevent/tests/test__threading_2.py
src/gevent/tests/test__threading_2.py
+1
-1
src/greentest/2.7/test_threading.py
src/greentest/2.7/test_threading.py
+1
-1
src/greentest/2.7pypy/test_threading.py
src/greentest/2.7pypy/test_threading.py
+1
-1
src/greentest/3.7/test_threading.py
src/greentest/3.7/test_threading.py
+1
-1
No files found.
appveyor.yml
View file @
5a252e03
...
...
@@ -138,7 +138,7 @@ cache:
-
'
%LOCALAPPDATA%\pip\Cache'
build_script
:
-
"
%PYEXE%
-m
pip
install
-U
--upgrade-strategy=eager
-v
.[test,events,dnspython]"
-
"
%PYEXE%
-m
pip
install
-U
--upgrade-strategy=eager
.[test,events,dnspython]"
test_script
:
# Run the project tests
...
...
src/gevent/testing/patched_tests_setup.py
View file @
5a252e03
...
...
@@ -406,9 +406,6 @@ if LIBUV:
'test_httpservers.CGIHTTPServerTestCase.test_invaliduri'
,
'test_httpservers.CGIHTTPServerTestCase.test_issue19435'
,
# Sometimes raises LoopExit on CPython
'test_socket.BufferIOTest.testRecvFromIntoArray'
,
# Unexpected timeouts sometimes
'test_smtplib.TooLongLineTests.testLineTooLong'
,
'test_smtplib.GeneralTests.testTimeoutValue'
,
...
...
@@ -463,6 +460,10 @@ if LIBUV:
# This test winds up hanging a long time.
# Inserting GCs doesn't fix it.
'test_ssl.ThreadedTests.test_handshake_timeout'
,
# These sometimes raise LoopExit, for no apparent reason.
'test_socket.BufferIOTest.testRecvFromIntoBytearray'
,
'test_socket.BufferIOTest.testRecvFromIntoArray'
,
]
if
PY3
:
...
...
src/gevent/testing/util.py
View file @
5a252e03
...
...
@@ -285,7 +285,7 @@ def _find_test_status(took, out):
return status, run_count, skipped_count
def run(command, **kwargs):
def run(command, **kwargs):
# pylint:disable=too-many-locals
buffer_output = kwargs.pop('
buffer_output
', BUFFER_OUTPUT)
quiet = kwargs.pop('
quiet
', QUIET)
verbose = not quiet
...
...
src/gevent/tests/test__threading_2.py
View file @
5a252e03
...
...
@@ -45,7 +45,7 @@ import time
import
unittest
import
weakref
import
lock_tests
from
gevent.tests
import
lock_tests
# A trivial mutable counter.
...
...
src/greentest/2.7/test_threading.py
View file @
5a252e03
...
...
@@ -19,7 +19,7 @@ try:
except
ImportError
:
_testcapi
=
None
import
lock_tests
# gevent: use local copy
from
gevent.tests
import
lock_tests
# gevent: use local copy
# A trivial mutable counter.
class
Counter
(
object
):
...
...
src/greentest/2.7pypy/test_threading.py
View file @
5a252e03
...
...
@@ -24,7 +24,7 @@ except:
# some lib_pypy/_testcapimodule.o file is truncated
_testcapi
=
None
import
lock_tests
# gevent: use local copy
from
gevent.tests
import
lock_tests
# gevent: use local copy
# A trivial mutable counter.
class
Counter
(
object
):
...
...
src/greentest/3.7/test_threading.py
View file @
5a252e03
...
...
@@ -17,7 +17,7 @@ import weakref
import
os
import
subprocess
import
lock_tests
# gevent: use our local copy
from
gevent.tests
import
lock_tests
# gevent: use our local copy
from
test
import
support
...
...
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