kevinjqliu commented on code in PR #1578:
URL: https://github.com/apache/iceberg-python/pull/1578#discussion_r1929839265
##########
tests/io/test_io.py:
##########
@@ -281,6 +282,11 @@ def test_import_file_io_does_not_exist() -> None:
assert _import_file_io("pyiceberg.does.not.exist.FileIO", {}) is None
+def test_import_file_io_logs_exception(caplog: Any) -> None:
+ _import_file_io("pyiceberg.does.not.exist.FileIO", {})
+ assert "ModuleNotFoundError: No module named 'pyiceberg.does'" in
caplog.text
Review Comment:
thanks! i was curious about the behavior
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]