Skip to content

Commit

Permalink
Core: Check MPU threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghua committed Sep 14, 2024
1 parent 3697fe0 commit 0460f97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tosfs/tests/test_tosfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ def test_file_write_mpu_threshold_check(
file_name = random_str()
content = "a" * 1 * 1024
block_size = 4 * 1024
with pytest.raises(ValueError, match="Block size must be >= 4MB.") and tosfs.open(
with pytest.raises(ValueError, match="Block size must be >= 4MB."), tosfs.open(
f"{bucket}/{temporary_workspace}/{file_name}", "w", block_size=block_size
) as f:
f.write(content)
Expand Down

0 comments on commit 0460f97

Please sign in to comment.