We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b8989d commit eace66aCopy full SHA for eace66a
tests/unit/test_file_handler.py
@@ -42,15 +42,3 @@ def test_get_file_size_from_bytesio():
42
file_obj = io.BytesIO(content)
43
size = get_file_size(file_obj)
44
assert size == 12
45
-
46
47
-def test_get_file_size_none():
48
- """Test get_file_size returns None for invalid input."""
49
- from nutrient_dws.file_handler import get_file_size
50
51
- # Test with a file-like object without proper methods
52
- class DummyFile:
53
- pass
54
55
- size = get_file_size(DummyFile()) # type: ignore[arg-type]
56
- assert size is None
0 commit comments