Skip to content

Commit

Permalink
Add xfail test capturing missed expectation. Ref #96.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Jul 14, 2023
1 parent 906d379 commit c208e98
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/test_zipp.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,16 @@ def test_suffixes(self, alpharep):
e = root / '.hgrc'
assert e.suffixes == []

import pytest

@pytest.mark.xfail(reason="96")
@pass_alpharep
def test_suffix_no_filename(self, alpharep):
alpharep.filename = None
root = zipp.Path(alpharep)
assert root.joinpath('example').suffix == ""
assert root.joinpath('example').suffixes == []

@pass_alpharep
def test_stem(self, alpharep):
"""
Expand Down

0 comments on commit c208e98

Please sign in to comment.