Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3c8d39b

Browse files
pyup-botsliverc
authored andcommitted
Update flake8 from 3.6.0 to 3.7.5 (#570)
1 parent 03e3a40 commit 3c8d39b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎example/tests/integration/test_polymorphism.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def test_invalid_type_on_polymorphic_model(client):
145145
response = client.post(url, data=data)
146146
assert response.status_code == 409
147147
content = response.json()
148-
assert len(content["errors"]) is 1
148+
assert len(content["errors"]) == 1
149149
assert content["errors"][0]["status"] == "409"
150150
try:
151151
assert content["errors"][0]["detail"] == \
@@ -191,7 +191,7 @@ def test_invalid_type_on_polymorphic_relation(single_company, research_project_f
191191
data=content)
192192
assert response.status_code == 409
193193
content = response.json()
194-
assert len(content["errors"]) is 1
194+
assert len(content["errors"]) == 1
195195
assert content["errors"][0]["status"] == "409"
196196
try:
197197
assert content["errors"][0]["detail"] == \

‎requirements-development.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ django-filter==2.1.0
44
django-polymorphic==2.0.3
55
factory-boy==2.11.1
66
Faker==1.0.2
7-
flake8==3.6.0
7+
flake8==3.7.5
88
flake8-isort==2.6.0
99
isort==4.3.4
1010
mock==2.0.0

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /