Merge pull request #5049 from hroncok/pytest4

Support pytest 4
This commit is contained in:
2019-08-20 00:12:58 -04:00
committed by GitHub
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ test_requirements = [
'pytest-mock',
'pytest-xdist',
'PySocks>=1.5.6, !=1.5.7',
'pytest>=2.8.0'
'pytest>=3'
]
about = {}
+2 -1
View File
@@ -33,7 +33,8 @@ class TestSuperLen:
'stream, value', (
(StringIO.StringIO, 'Test'),
(BytesIO, b'Test'),
pytest.mark.skipif('cStringIO is None')((cStringIO, 'Test')),
pytest.param(cStringIO, 'Test',
marks=pytest.mark.skipif('cStringIO is None')),
))
def test_io_streams(self, stream, value):
"""Ensures that we properly deal with different kinds of IO streams."""