We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59f7806 commit d327fa6Copy full SHA for d327fa6
1 file changed
pythonFiles/PythonTools/ipythonServer.py
@@ -54,8 +54,8 @@
54
except ImportError:
55
from queue import Empty, Queue # Python 3
56
57
-DEBUG = os.environ.get('DEBUG_DJAYAMANNE_IPYTHON') is not None
58
-TEST = os.environ.get('PYTHON_DONJAYAMANNE_TEST') is not None
+DEBUG = os.environ.get('DEBUG_DJAYAMANNE_IPYTHON', '0') == '1'
+TEST = os.environ.get('PYTHON_DONJAYAMANNE_TEST', '0') == '1'
59
60
# The great "support IPython 2, 3, 4" strat begins
61
if not TEST:
0 commit comments