Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
TangSiyang2001 committed Feb 25, 2024
1 parent 32a024a commit bac3702
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions python/pyarrow/tests/test_fs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1905,12 +1905,13 @@ def test_s3_finalize_region_resolver():
"""
subprocess.check_call([sys.executable, "-c", code])


@pytest.mark.s3
def test_concurrent_fs_init():
code = """if 1:
import threading
import pytest
from pyarrow.fs import (FileSystem, S3FileSystem
from pyarrow.fs import (FileSystem, S3FileSystem,
ensure_s3_initialized, finalize_s3)
threads = []
for i in range(4):
Expand All @@ -1922,4 +1923,5 @@ def test_concurrent_fs_init():
thread.join()
finalize_s3()
"""
"""
subprocess.check_call([sys.executable, "-c", code])

0 comments on commit bac3702

Please sign in to comment.