disable test_format_specifiers on python < 3.6 since this is only required for the fstring tests and was causing failures on 2.7

This commit is contained in:
moagstar
2016-08-16 08:38:38 +02:00
parent 004ce5c491
commit 5ab3e52c9c

View File

@@ -103,6 +103,7 @@ def fstrings(draw):
return "f{}'{}'".format('r' if is_raw else '', content)
@pytest.mark.skipif(PYTHON_VERSION < 3.6, reason='need at least python 3.6')
@hypothesis.given(format_specifiers())
def test_format_specifiers(format_specifier):
"""Verify that format_specifiers generates valid specifiers"""