File tree Expand file tree Collapse file tree 6 files changed +15
-12
lines changed Expand file tree Collapse file tree 6 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 11language : python
2+ dist : xenial
23python :
34 # To see supported options, run:
45 # s3cmd ls s3://travis-python-archives/binaries/ubuntu/16.04/x86_64/
56 # We put pypy first, b/c for tests they're the slowest
6- - pypy2.7-5.10 .0
7- - pypy3.5-5.10.1
7+ - pypy2.7-6 .0
8+ - pypy3.5-6.0
89 - 2.7
9- - 3.3 # probably irrelevant but so far supporting it has been free
1010 - 3.4
1111 - 3.5
1212 - 3.6
13- - 3.7-dev
14- sudo : false
13+ - 3.7
14+ - 3.8-dev
1515
1616before_install :
17- - pip install -r test-requirements.txt
17+ - pip install -U pip setuptools wheel
18+ - pip install -Ur test-requirements.txt
1819 - pip install codecov
1920
2021script :
21- - py.test --cov=h11 --cov-config=.coveragerc h11
22+ - pytest --cov=h11 --cov-config=.coveragerc h11
2223
2324after_success :
2425 - codecov
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ library.
112112It has a test suite with 100.0% coverage for both statements and
113113branches.
114114
115- Currently it supports Python 3 (testing on 3.3 -3.6 ), Python 2.7, and PyPy.
115+ Currently it supports Python 3 (testing on 3.4 -3.7 ), Python 2.7, and PyPy.
116116(Originally it had a Cython wrapper for `http-parser
117117<https://github.com/nodejs/http-parser> `_ and a beautiful nested state
118118machine implemented with ``yield from `` to postprocess the output. But
Original file line number Diff line number Diff line change @@ -45,7 +45,8 @@ def time_server_basic_get_with_realistic_headers():
4545def _run_basic_get_repeatedly ():
4646 from timeit import default_timer
4747 REPEAT = 10000
48- while True :
48+ #while True:
49+ for _ in range (7 ):
4950 start = default_timer ()
5051 for _ in range (REPEAT ):
5152 time_server_basic_get_with_realistic_headers ()
Original file line number Diff line number Diff line change @@ -652,7 +652,7 @@ response.
652652
653653As a server, h11 provides the minimal support for pipelining required
654654to comply with the HTTP/1.1 standard: if the client sends multiple
655- pipelined requests, then we the first request until we reach the
655+ pipelined requests, then we handle the first request until we reach the
656656:data: `DONE ` state, and then :meth: `~Connection.next_event ` will
657657pause and refuse to parse any more events until the response is
658658completed and :meth: `~Connection.start_next_cycle ` is called. See the
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ whatever. But h11 makes it much easier to implement something like
4444Vital statistics
4545----------------
4646
47- * Requirements: Python 2.7 or Python 3.3 + (PyPy works great)
47+ * Requirements: Python 2.7 or Python 3.4 + (PyPy works great)
4848
4949* Install: ``pip install h11 ``
5050
Original file line number Diff line number Diff line change 2626 "Programming Language :: Python :: 2" ,
2727 "Programming Language :: Python :: 2.7" ,
2828 "Programming Language :: Python :: 3" ,
29- "Programming Language :: Python :: 3.3" ,
3029 "Programming Language :: Python :: 3.4" ,
3130 "Programming Language :: Python :: 3.5" ,
31+ "Programming Language :: Python :: 3.6" ,
32+ "Programming Language :: Python :: 3.7" ,
3233 "Topic :: Internet :: WWW/HTTP" ,
3334 "Topic :: System :: Networking" ,
3435 ],
You can’t perform that action at this time.
0 commit comments