diff --git a/aicsimageio/tests/readers/test_ome_tiff_reader.py b/aicsimageio/tests/readers/test_ome_tiff_reader.py index 4eda9c3ba..fdab7e63d 100644 --- a/aicsimageio/tests/readers/test_ome_tiff_reader.py +++ b/aicsimageio/tests/readers/test_ome_tiff_reader.py @@ -397,15 +397,6 @@ def test_multi_resolution_ome_tiff_reader( "3d-cell-viewer.ome.tiff", "pre-variance-cfe.ome.tiff", "variance-cfe.ome.tiff", - pytest.param( - "actk.ome.tiff", - marks=pytest.mark.xfail(raises=exceptions.UnsupportedFileFormatError), - ), - # This file has a namespace that doesn't exist - pytest.param( - "s_1_t_1_c_10_z_1.ome.tiff", - marks=pytest.mark.xfail(raises=exceptions.UnsupportedFileFormatError), - ), ], ) def test_known_errors_without_cleaning(filename: str, host: str) -> None: diff --git a/aicsimageio/tests/writers/test_ome_tiff_writer.py b/aicsimageio/tests/writers/test_ome_tiff_writer.py index a7cfa8985..5c520dd41 100644 --- a/aicsimageio/tests/writers/test_ome_tiff_writer.py +++ b/aicsimageio/tests/writers/test_ome_tiff_writer.py @@ -3,7 +3,6 @@ from typing import Callable, List, Optional, Tuple, Union -import lxml import numpy as np import pytest from ome_types import to_xml @@ -165,8 +164,10 @@ def test_ome_tiff_writer_no_meta( (1, 2, 3, 4, 5), "bad ome string", "TCZYX", - # raised from within ome-types - marks=pytest.mark.xfail(raises=lxml.etree.XMLSyntaxError), + # Raised from within ome-types. + # Purposely not specifying the exact exception due to + # version differences in ome-types. + marks=pytest.mark.xfail(), ), ], ) diff --git a/setup.py b/setup.py index 6740b750d..2ddbac1be 100644 --- a/setup.py +++ b/setup.py @@ -105,7 +105,7 @@ def run(self): "imagecodecs>=2020.5.30", "lxml>=4.6,<5", "numpy>=1.16,<=1.24.0", - "ome-types>=0.3.3,<0.4.0", + "ome-types>=0.3.4", "ome-zarr>=0.6.1", "PyYAML>=6.0", "wrapt>=1.12",