samredai commented on code in PR #5171:
URL: https://github.com/apache/iceberg/pull/5171#discussion_r912193061
##########
python/tests/conftest.py:
##########
@@ -828,9 +828,9 @@ def to_input_file(self):
def create(self, overwrite: bool = False) -> OutputStream:
output_file = open(self._path, "wb" if overwrite else "xb")
- if not isinstance(output_file, OutputStream):
- raise TypeError("Object returned from LocalOutputFile.create(...)
does not match the OutputStream protocol.")
- return output_file
+ # if not issubclass(type(output_file), OutputStream):
Review Comment:
Should we just remove these two commented lines?
--
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]