Skip to content

Commit

Permalink
Comment out assert (hanging integration tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddelange committed Oct 17, 2024
1 parent a4c0380 commit ed73256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smart_open/smart_open_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def open(
raise NotImplementedError(ve.args[0])

binary = _open_binary_stream(uri, binary_mode, transport_params)
assert hasattr(binary, "name"), "missing 'name' attr (for INFER_FROM_EXTENSION)"
# assert hasattr(binary, "name"), "missing 'name' attr (for INFER_FROM_EXTENSION)"
decompressed = so_compression.compression_wrapper(binary, binary_mode, compression)

if 'b' not in mode or explicit_encoding is not None:
Expand Down

0 comments on commit ed73256

Please sign in to comment.