(self, file_path, reader_kwargs, patch_info, exception)
| 730 | [TEST_CASE_ERROR_0_MPP, TEST_CASE_ERROR_1_MPP, TEST_CASE_ERROR_2_POWER, TEST_CASE_ERROR_3_POWER] |
| 731 | ) |
| 732 | def test_errors(self, file_path, reader_kwargs, patch_info, exception): |
| 733 | with self.assertRaises(exception): |
| 734 | reader = WSIReader(self.backend, **reader_kwargs) |
| 735 | with reader.read(file_path) as img_obj: |
| 736 | reader.get_data(img_obj, **patch_info) |
| 737 | |
| 738 | |
| 739 | @skipUnless(has_cucim, "Requires cucim") |