From a85334682cdadef7251a07f6c130448a28686cd2 Mon Sep 17 00:00:00 2001 From: "pyup.io bot" Date: Mon, 4 Feb 2019 12:31:42 -0800 Subject: [PATCH] Scheduled monthly dependency update for February (#382) * Update flake8 from 3.6.0 to 3.7.4 * Update mypy from 0.650 to 0.660 * Update pycodestyle from 2.4.0 to 2.5.0 * Update pyflakes from 2.0.0 to 2.1.0 * Update pytest from 4.0.2 to 4.2.0 * Update pytest-cov from 2.6.0 to 2.6.1 * fix test linting --- tests/requirements.txt | 12 ++++++------ tests/test_validators.py | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/requirements.txt b/tests/requirements.txt index 3698099..c19edbe 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1,13 +1,13 @@ attrs==18.2.0 black==18.9b0 coverage==4.5.2 -flake8==3.6.0 +flake8==3.7.4 isort==4.3.4 -mypy==0.650 -pycodestyle==2.4.0 -pyflakes==2.0.0 -pytest==4.0.2 -pytest-cov==2.6.0 +mypy==0.660 +pycodestyle==2.5.0 +pyflakes==2.1.0 +pytest==4.2.0 +pytest-cov==2.6.1 pytest-isort==0.2.1 pytest-mock==1.10.0 pytest-sugar==0.9.2 diff --git a/tests/test_validators.py b/tests/test_validators.py index 36b8693..b7d1fac 100644 --- a/tests/test_validators.py +++ b/tests/test_validators.py @@ -32,10 +32,10 @@ def test_int_validation(): assert exc_info.value.errors() == [ {'loc': ('a',), 'msg': 'value is not a valid integer', 'type': 'type_error.integer'} ] - assert Model(a=3).a is 3 - assert Model(a=True).a is 1 - assert Model(a=False).a is 0 - assert Model(a=4.5).a is 4 + assert Model(a=3).a == 3 + assert Model(a=True).a == 1 + assert Model(a=False).a == 0 + assert Model(a=4.5).a == 4 def test_validate_whole():