Skip to content

Commit

Permalink
Increase coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
icemac committed Aug 31, 2023
1 parent bb2a0ac commit e4c2c2b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_Guards.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def test_Guards__safer_getattr__1d():


@pytest.mark.skipif(IS_PY3, reason="Python 3 lacks unicode")
def test_Guards__safer_getattr__2a():
def test_Guards__safer_getattr__2a(): # pragma: PY2
"""It prevents using the format method of a unicode.
format() is considered harmful:
Expand All @@ -265,7 +265,7 @@ def test_Guards__safer_getattr__2a():


@pytest.mark.skipif(IS_PY3, reason="Python 3 lacks unicode")
def test_Guards__safer_getattr__2b():
def test_Guards__safer_getattr__2b(): # pragma: PY2
"""It prevents using the format method of a unicode.
format() is considered harmful:
Expand All @@ -286,7 +286,7 @@ def test_Guards__safer_getattr__2b():


@pytest.mark.skipif(IS_PY3, reason="Python 3 lacks unicode")
def test_Guards__safer_getattr__2c():
def test_Guards__safer_getattr__2c(): # pragma: PY2
"""It prevents using the format method of a unicode.
format() is considered harmful:
Expand All @@ -306,7 +306,7 @@ def test_Guards__safer_getattr__2c():


@pytest.mark.skipif(IS_PY3, reason="Python 3 lacks unicode")
def test_Guards__safer_getattr__2d():
def test_Guards__safer_getattr__2d(): # pragma: PY2
"""It prevents using the format method of a unicode.
format() is considered harmful:
Expand Down

0 comments on commit e4c2c2b

Please sign in to comment.