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 53bc1e1

Browse files
pyup-botOliver Sauder
authored and
Oliver Sauder
committed
Update flake8 from 3.6.0 to 3.7.5
1 parent bc61e66 commit 53bc1e1

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
@@ -142,7 +142,7 @@ def test_invalid_type_on_polymorphic_model(client):
142142
response = client.post(url, data=data)
143143
assert response.status_code == 409
144144
content = response.json()
145-
assert len(content["errors"]) is 1
145+
assert len(content["errors"]) == 1
146146
assert content["errors"][0]["status"] == "409"
147147
try:
148148
assert content["errors"][0]["detail"] == \
@@ -188,7 +188,7 @@ def test_invalid_type_on_polymorphic_relation(single_company, research_project_f
188188
data=content)
189189
assert response.status_code == 409
190190
content = response.json()
191-
assert len(content["errors"]) is 1
191+
assert len(content["errors"]) == 1
192192
assert content["errors"][0]["status"] == "409"
193193
try:
194194
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 によって変換されたページ (->オリジナル) /