From 372e7402fbb857c8b614fc0e79a4583fb7e3da1b Mon Sep 17 00:00:00 2001 From: Justas Birgiolas Date: Sun, 21 Apr 2019 10:37:39 -0700 Subject: [PATCH] hide neuron output during support test --- neuronunit/models/backends/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neuronunit/models/backends/base.py b/neuronunit/models/backends/base.py index 0e2e9dd10..22b9b9070 100644 --- a/neuronunit/models/backends/base.py +++ b/neuronunit/models/backends/base.py @@ -21,7 +21,7 @@ TemporaryDirectory # Test for NEURON support in a separate python process -NEURON_SUPPORT = (os.system('python -c "import neuron" >/dev/null') == 0) +NEURON_SUPPORT = (os.system("python -c 'import neuron' > /dev/null 2>&1") == 0) try: import pyNN