Skip to content

Commit

Permalink
fix: more issues with zmq
Browse files Browse the repository at this point in the history
  • Loading branch information
stevetracvc committed Apr 23, 2022
1 parent b060203 commit 7ae8b3b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion spyder_unittest/backend/pytestworker.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@

# Local imports, needs to not be absolute otherwise it will fail if trying
# to execute in a different env with only spyder-kernel installed
from .zmqstream import ZmqStreamWriter
try:
# this line is needed for the pytests to succeed
from .zmqstream import ZmqStreamWriter
except:
# this line is needed for the plugin to work
from zmqstream import ZmqStreamWriter

try:
# if only spyder kernels are installed in the desired env,
Expand Down

0 comments on commit 7ae8b3b

Please sign in to comment.