File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ def test_import_file_io() -> None:
280280
281281def test_import_file_io_does_not_exist (caplog : Any ) -> None :
282282 assert _import_file_io ("pyiceberg.does.not.exist.FileIO" , {}) is None
283- assert "ModuleNotFoundError: No module named ' pyiceberg.does' " in caplog .text
283+ assert "Could not initialize FileIO: pyiceberg.does.not.exist.FileIO " in caplog .text
284284
285285
286286def test_load_file () -> None :
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ def test_custom_location_provider_not_found(caplog: Any) -> None:
7070 load_location_provider (
7171 table_location = "table_location" , table_properties = {"write.py-location-provider.impl" : "module.not_found" }
7272 )
73- assert "ModuleNotFoundError: No module named ' module' " in caplog .text
73+ assert "Could not initialize LocationProvider: module.not_found " in caplog .text
7474
7575
7676def test_object_storage_no_partition () -> None :
You can’t perform that action at this time.
0 commit comments