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
45c5c39f
Commit
45c5c39f
authored
Dec 09, 2017
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A bunch more mysterious test disables for pypy on windows+libuv
parent
514f9a9e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
7 deletions
+57
-7
src/greentest/greentest.py
src/greentest/greentest.py
+11
-4
src/greentest/patched_tests_setup.py
src/greentest/patched_tests_setup.py
+46
-3
No files found.
src/greentest/greentest.py
View file @
45c5c39f
...
...
@@ -512,7 +512,12 @@ class TestCase(TestCaseMetaClass("NewBase", (BaseTestCase,), {})):
econtext
,
ekind
,
evalue
=
error
if
kind
is
not
None
:
self
.
assertIsInstance
(
kind
,
type
)
assert
issubclass
(
ekind
,
kind
),
error
try
:
assert
issubclass
(
ekind
,
kind
),
error
except
TypeError
as
e
:
# Seen on PyPy on Windows
print
(
"TYPE ERROR"
,
e
,
ekind
,
kind
,
type
(
kind
))
raise
if
value
is
not
None
:
if
isinstance
(
value
,
str
):
self
.
assertEqual
(
str
(
evalue
),
value
)
...
...
@@ -889,9 +894,11 @@ else:
# num_fds is unix only. Is num_handles close enough on Windows?
return
0
#if RUNNING_ON_TRAVIS:
# # XXX: Note: installing psutil on the travis linux vm caused failures in test__makefile_refs.
# get_open_files = lsof_get_open_files
if
RUNNING_ON_TRAVIS
:
# XXX: Note: installing psutil on the travis linux vm caused
# failures in test__makefile_refs. Specifically, it didn't find
# open files we expected.
get_open_files
=
lsof_get_open_files
if
PYPY
:
...
...
src/greentest/patched_tests_setup.py
View file @
45c5c39f
...
...
@@ -225,11 +225,54 @@ if LIBUV:
]
if
WIN
and
PYPY
:
# From PyPy2-v5.9.0, but tested against tests from
# python 2.7.8, which do work on linux and darwin
# From PyPy2-v5.9.0, using its version of tests,
# which do work on darwin (and possibly linux?)
# I can't produce them in a local VM running Windows 10
# and the same pypy version.
disabled_tests
+=
[
# appears to timeout?
'test_threading.ThreadTests.test_finalize_with_trace'
'test_threading.ThreadTests.test_finalize_with_trace'
,
'test_asyncore.DispatcherWithSendTests_UsePoll.test_send'
,
'test_asyncore.DispatcherWithSendTests.test_send'
,
# These, which use asyncore, faile with
# 'NoneType is not iterable' on 'conn, addr = self.accept()'
# How could that be returning None?
'test_ftplib.TestFTPClass.test_acct'
,
'test_ftplib.TestFTPClass.test_all_errors'
,
'test_ftplib.TestFTPClass.test_cwd'
,
'test_ftplib.TestFTPClass.test_delete'
,
'test_ftplib.TestFTPClass.test_dir'
,
'test_ftplib.TestFTPClass.test_exceptions'
,
'test_ftplib.TestFTPClass.test_getwelcome'
,
'test_ftplib.TestFTPClass.test_line_too_long'
,
'test_ftplib.TestFTPClass.test_login'
,
'test_ftplib.TestFTPClass.test_makepasv'
,
'test_ftplib.TestFTPClass.test_mkd'
,
'test_ftplib.TestFTPClass.test_nlst'
,
'test_ftplib.TestFTPClass.test_pwd'
,
'test_ftplib.TestFTPClass.test_quit'
,
'test_ftplib.TestFTPClass.test_makepasv'
,
# This one times out
'test_ftplib.TestFTPClass.test_makeport'
,
# More unexpected timeouts
'test_smtplib.TooLongLineTests.testLineTooLong'
,
'test_smtplib.GeneralTests.testTimeoutValue'
,
'test_ssl.ContextTests.test__https_verify_envvar'
,
'test_subprocess.ProcessTestCase.test_check_output'
,
'test_telnetlib.ReadTests.test_read_eager_A'
,
# A timeout, possibly because of the way we handle interrupts?
'test_socketserver.SocketServerTest.test_InterruptedServerSelectCall'
,
# This one might be like 'test_urllib2_localnet.TestUrlopen.test_https_with_cafile'?
'test_httpservers.BaseHTTPServerTestCase.test_command'
,
# But on Windows, our gc fix for that doesn't work anyway
# so we have to disable it.
'test_urllib2_localnet.TestUrlopen.test_https_with_cafile'
,
]
def
_make_run_with_original
(
mod_name
,
func_name
):
...
...
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