Skip to content

Commit

Permalink
skip the uploadtwice02 test on non-Windows systems for os.unlink only…
Browse files Browse the repository at this point in the history
… raises a locking error on Windows
  • Loading branch information
mapix committed Jun 22, 2024
1 parent 1f0093e commit a61fbd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_uploading_same_file_twice_with_errors.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import sys
from pathlib import Path
import shutil
import threading
Expand Down Expand Up @@ -139,6 +140,7 @@ def upload_file(file_to_upload):


# Run with pytest -k uploadtwice02
@pytest.mark.skipif(sys.platform in ["linux", "darwin"], reason="os.unlik() is not blocking on Linux and MacOS")
def test_uploadtwice02_upload_a_file_twice_with_error(
dash_duo, testfile10kb_csv, testfile10kb_2_csv
):
Expand Down

0 comments on commit a61fbd5

Please sign in to comment.