Skip to content

Commit 46e924c

Browse files
committed
Fix CI
1 parent 25fe0b0 commit 46e924c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import json
22
import os
3-
import platform
43
import shutil
54
import subprocess
65
import sys
@@ -177,6 +176,8 @@ def python_on_path():
177176

178177
@pytest.fixture(scope='session')
179178
def devpi(tmp_path_factory, worker_id):
179+
import platform
180+
180181
if not shutil.which('docker') or (
181182
running_in_ci() and (not PLATFORM.linux or platform.python_implementation() == 'PyPy')
182183
):

0 commit comments

Comments
 (0)