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
This commit is contained in:
pyup.io bot
2019-02-04 12:31:42 -08:00
committed by Samuel Colvin
parent 9900c7f00c
commit a85334682c
2 changed files with 10 additions and 10 deletions
+6 -6
View File
@@ -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
+4 -4
View File
@@ -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():