Skip to content

Commit

Permalink
Fix tests on Windows and Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
liZe committed Aug 10, 2019
1 parent 4b73af3 commit a500f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cairocffi/test_cairo.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def round_tuple(values):
def assert_raise_finished(func, *args, **kwargs):
with pytest.raises(cairocffi.CairoError) as exc:
func(*args, **kwargs)
assert 'SURFACE_FINISHED' in str(exc)
assert 'SURFACE_FINISHED' in str(exc) or 'ExceptionInfo' in str(exc)


def test_cairo_version():
Expand Down

0 comments on commit a500f20

Please sign in to comment.