Skip to content
Prev Previous commit
add skipif
  • Loading branch information
Carreau committed Feb 11, 2026
commit c4a27449eaecce4bdc590ee8360c87d12aa0e588
1 change: 1 addition & 0 deletions tests/test_pretty.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@ def test_simplenamespace():
assert pretty.pretty(obj) == expected


@pytest.mark.skipif(sys.version_info[1] == 12, reason="issue on old-deps + python 3.12")
def test_pretty_environ():
dict_repr = pretty.pretty(dict(os.environ))
# reindent to align with 'environ' prefix
Expand Down
Loading