Skip to content

Commit 580923d

Browse files
Reverts TestRunnerAgent to use independent python version detection. Fixes #1797
1 parent 7a14e73 commit 580923d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/robotide/contrib/testrunner/TestRunnerAgent.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,10 @@
7171
import sys
7272
import socket
7373
import threading
74-
from robotide.utils import PY2, PY3
7574

7675
PLATFORM = platform.python_implementation()
76+
PY2 = sys.version_info[0] == 2
77+
PY3 = not PY2
7778

7879
try:
7980
import SocketServer

0 commit comments

Comments
 (0)