From 51b8c27e8054fc89504aa93d3fd8eeda1fa5d4d2 Mon Sep 17 00:00:00 2001 From: Elizaveta Shashkova Date: Fri, 21 Apr 2017 17:36:25 +0300 Subject: [PATCH] Tests: fix test data after old refactoring in arguments patching --- python/helpers/pydev/tests_pydevd_python/test_pydev_monkey.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/helpers/pydev/tests_pydevd_python/test_pydev_monkey.py b/python/helpers/pydev/tests_pydevd_python/test_pydev_monkey.py index 12e2efc1db00..45859987c938 100644 --- a/python/helpers/pydev/tests_pydevd_python/test_pydev_monkey.py +++ b/python/helpers/pydev/tests_pydevd_python/test_pydev_monkey.py @@ -24,7 +24,7 @@ class TestCase(unittest.TestCase): 'sys.path.append(r\'%s\'); ' 'import pydevd; pydevd.settrace(host=\'127.0.0.1\', port=0, suspend=False, ' 'trace_only_current_thread=False, patch_multiprocessing=True); ' - '' + 'from pydevd import SetupHolder; SetupHolder.setup = {\'client\': \'127.0.0.1\', \'port\': \'0\'}; ' 'connect("127.0.0.1")') % pydev_src_dir if sys.platform == "win32": debug_command = debug_command.replace('"', '\\"') @@ -47,7 +47,7 @@ class TestCase(unittest.TestCase): debug_command = ( 'import sys; sys.path.append(r\'%s\'); import pydevd; ' 'pydevd.settrace(host=\'127.0.0.1\', port=0, suspend=False, trace_only_current_thread=False, patch_multiprocessing=True); ' - '' + 'from pydevd import SetupHolder; SetupHolder.setup = {\'client\': \'127.0.0.1\', \'port\': \'0\'}; ' 'connect("127.0.0.1")') % pydev_src_dir if sys.platform == "win32": debug_command = debug_command.replace('"', '\\"')