update hypothesis

This commit is contained in:
Patrick Kanzler 2020-05-09 00:39:41 +02:00
parent 18c3a5f298
commit 95ec6d5c08
3 changed files with 2 additions and 5 deletions

View File

@ -100,7 +100,7 @@ setup(
'nose',
'scripttest',
'mock',
'hypothesis!=3.56.9,<4',
'hypothesis>4',
'flake8'
],
entry_points={

View File

@ -28,7 +28,6 @@ else:
@pytest.mark.skip("this test is broken and has to be fixed or discarded")
@settings(use_coverage=False)
@given(path=text())
def test_load_file_printer(mocker, path):
"""test the loading of the file-printer"""
@ -40,7 +39,6 @@ def test_load_file_printer(mocker, path):
@pytest.mark.skip("this test is broken and has to be fixed or discarded")
@settings(deadline=None, use_coverage=False)
@given(txt=text())
def test_auto_flush(mocker, txt):
"""test auto_flush in file-printer"""
@ -62,7 +60,6 @@ def test_auto_flush(mocker, txt):
@pytest.mark.skip("this test is broken and has to be fixed or discarded")
@settings(deadline=None, use_coverage=False)
@given(txt=text())
def test_flush_on_close(mocker, txt):
"""test flush on close in file-printer"""

View File

@ -10,7 +10,7 @@ deps = nose
pytest!=3.2.0,!=3.3.0
pytest-cov
pytest-mock
hypothesis!=3.56.9,<4
hypothesis>4
viivakoodi
commands = pytest --cov escpos
passenv = ESCPOS_CAPABILITIES_PICKLE_DIR ESCPOS_CAPABILITIES_FILE CI TRAVIS TRAVIS_* APPVEYOR APPVEYOR_* CODECOV_*