Skip to content

Commit 1cf45ca

Browse files
authored
Merge pull request #327 from hramezani/py39
Added Py39 support
2 parents 6f682b8 + 5a52393 commit 1cf45ca

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ python:
77
- '3.6'
88
- '3.7'
99
- '3.8'
10+
- '3.9-dev'
1011
- nightly
1112

1213
cache:

test_responses.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,9 +396,9 @@ def test_arbitrary_status_code():
396396
@responses.activate
397397
def run():
398398
url = "http://example.com/"
399-
responses.add(responses.GET, url, body="test", status=418)
399+
responses.add(responses.GET, url, body="test", status=419)
400400
resp = requests.get(url)
401-
assert resp.status_code == 418
401+
assert resp.status_code == 419
402402
assert resp.reason is None
403403

404404
run()

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py27,py34,py35,py36,py37,py38
2+
envlist = py27,py34,py35,py36,py37,py38,py39
33

44
[testenv]
55
extras = tests

0 commit comments

Comments
 (0)