[4.6] fixes for python4

This commit is contained in:
Anthony Sottile
2019-08-29 09:48:58 -07:00
parent 117f52dcf3
commit aa79b1c00c
8 changed files with 10 additions and 9 deletions

View File

@@ -289,7 +289,7 @@ class TestUnicodeHandling:
success = dummy_context_manager
py2_only = pytest.mark.skipif(
six.PY3, reason="bytes in raises only supported in Python 2"
not six.PY2, reason="bytes in raises only supported in Python 2"
)
@pytest.mark.parametrize(