mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Tests: fix test data after old refactoring in arguments patching
This commit is contained in:
@@ -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('"', '\\"')
|
||||
|
||||
Reference in New Issue
Block a user