Skip to content

Commit 8fc029c

Browse files
revert test_put_get to version from main
1 parent 2ac1fba commit 8fc029c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/integ/test_put_get.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -742,10 +742,9 @@ def test_get_empty_file(tmp_path, conn_cnx):
742742
assert not empty_file.exists()
743743

744744

745-
@pytest.mark.parametrize("auto_compress", ["TRUE", "FALSE"])
746745
@pytest.mark.skipolddriver
747746
@pytest.mark.skipif(IS_WINDOWS, reason="not supported on Windows")
748-
def test_get_file_permission(tmp_path, conn_cnx, caplog, auto_compress):
747+
def test_get_file_permission(tmp_path, conn_cnx, caplog):
749748
test_file = tmp_path / "data.csv"
750749
test_file.write_text("1,2,3\n")
751750
stage_name = random_string(5, "test_get_file_permission_")
@@ -755,7 +754,7 @@ def test_get_file_permission(tmp_path, conn_cnx, caplog, auto_compress):
755754
cur.execute(f"create temporary stage {stage_name}")
756755
filename_in_put = str(test_file).replace("\\", "/")
757756
cur.execute(
758-
f"PUT 'file://{filename_in_put}' @{stage_name} AUTO_COMPRESS={auto_compress}",
757+
f"PUT 'file://{filename_in_put}' @{stage_name} AUTO_COMPRESS=FALSE",
759758
)
760759

761760
with caplog.at_level(logging.ERROR):

0 commit comments

Comments
 (0)