Skip to content

Commit

Permalink
Add xfail for test which fails occasionally
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpre committed Jul 29, 2022
1 parent 65263f7 commit bacd32a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rsciio/tests/test_hdf5.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ def test_save_unicode(self, tmp_path, file):
assert isinstance(l.metadata.test[2], str)
assert l.metadata.test[2] == '\u6f22\u5b57'

@pytest.mark.xfail(reason="osx is slow occasionally")
@zspy_marker
def test_save_long_list(self, tmp_path, file):
s = self.s
Expand All @@ -211,7 +212,7 @@ def test_save_long_list(self, tmp_path, file):
fname = tmp_path / file
s.save(fname)
end = time.time()
# It should finish in less that 2 s on CI.
# It should finish in less that 2 s on CI
assert end - start < 2.0

@zspy_marker
Expand Down

0 comments on commit bacd32a

Please sign in to comment.