(input_path, size, tmp_path, mock_fsspec2)
| 566 | ], |
| 567 | ) |
| 568 | def test_xgetsize(input_path, size, tmp_path, mock_fsspec2): |
| 569 | if input_path.startswith("tmp_path"): |
| 570 | input_path = input_path.replace("/", os.sep).replace("tmp_path", str(tmp_path)) |
| 571 | (tmp_path / "file.txt").touch() |
| 572 | (tmp_path / "file.txt").write_bytes(b"x" * 100) |
| 573 | assert xgetsize(input_path) == size |
| 574 | |
| 575 | |
| 576 | @pytest.mark.integration |
nothing calls this directly
no test coverage detected