Skip to content

Commit 2829c43

Browse files
changed multi-line python -c arg string to concatenated in test_remote's process fixture for pypy compatibility
--HG-- branch : dev
1 parent ab091d4 commit 2829c43

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/remote/conftest.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ def process(request):
2828
"""
2929
# robotremoteserver is not PY3-compatible yet
3030
return PY2 and Popen([
31-
sys.executable, '-c', dedent("""
32-
__import__('robottools.remote').remote.RemoteRobot(
33-
[%s], allow_import=[%s]
34-
)""") % (', '.join(map(repr, REMOTE_LIBRARIES)),
35-
', '.join(map(repr, ALLOWED_REMOTE_IMPORTS)))])
31+
sys.executable, '-c',
32+
"__import__('robottools.remote').remote.RemoteRobot("
33+
" [%s], allow_import=[%s])"
34+
% (', '.join(map(repr, REMOTE_LIBRARIES)),
35+
', '.join(map(repr, ALLOWED_REMOTE_IMPORTS)))])
3636

3737

3838
@pytest.fixture(scope='module')

0 commit comments

Comments
 (0)