Commit e1a1f03a authored by Jason Madden's avatar Jason Madden

Fix appveyor to use the new test command.

parent f5da156b
......@@ -154,7 +154,7 @@ test_script:
# Run the project tests
- "%PYEXE% -c \"import gevent.core; print(gevent.core.loop)\""
- "%PYEXE% -c \"import gevent; print(gevent.config.settings['resolver'].get_options())\""
- "cd src/greentest && %PYEXE% testrunner.py --config known_failures.py --quiet && cd ../.."
- "%PYEXE% -mgevent.tests --config known_failures.py --quiet"
after_test:
- "%CMD_IN_ENV% %PYEXE% setup.py bdist_wheel"
......
......@@ -751,7 +751,7 @@ class HttpsTestCase(TestCase):
import ssl
raw_sock = self.connect()
sock = ssl.wrap_socket(raw_sock)
fd = sock.makefile(bufsize=1)
fd = sock.makefile(bufsize=1) # pylint:disable=unexpected-keyword-arg
fd.write('%s / HTTP/1.1\r\nHost: localhost\r\n' % method)
if post_body is not None:
fd.write('Content-Length: %s\r\n\r\n' % len(post_body))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment