Skip to content

Commit 7fc62e8

Browse files
authored
Merge pull request #1035 from peeweep/fix-ShellCommandReceive
fix ShellCommandReceive ImportError
2 parents 724dffe + e450042 commit 7fc62e8

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

‎ipyparallel/shellcmd.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import sys
1717
from argparse import ArgumentParser
1818

19-
from .cluster.shellcmd import ShellCommandReceive
19+
from .cluster.shellcmd_receive import ShellCommandReceive
2020

2121

2222
def main():

‎ipyparallel/tests/test_shellcmd.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,12 @@
128128
]
129129

130130

131+
def test_shellcmd_module_import():
132+
import ipyparallel.shellcmd
133+
134+
assert callable(ipyparallel.shellcmd.main)
135+
136+
131137
@pytest.fixture
132138
def shellcmd_test_cmd():
133139
"""returns a command that runs for 5 seconds"""

0 commit comments

Comments
 (0)