We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 449211b commit 01e0052Copy full SHA for 01e0052
pandas/tests/io/conftest.py
@@ -40,8 +40,13 @@ def feather_file(datapath):
40
41
42
@pytest.fixture
43
-def s3so():
44
- return {"client_kwargs": {"endpoint_url": "http://localhost:5000/"}}
+def s3so(worker_id):
+ if os.environ.get("PANDAS_CI", "0") == "1":
45
+ url = "http://localhost:5000/"
46
+ else:
47
+ worker_id = "5" if worker_id == "master" else worker_id.lstrip("gw")
48
+ url = f"http://127.0.0.1:555{worker_id}/"
49
+ return {"client_kwargs": {"endpoint_url": url}}
50
51
52
@pytest.fixture(scope="session")
0 commit comments