diff --git a/tests/test_remote.py b/tests/test_remote.py index 0bd44fb1..b46bba50 100644 --- a/tests/test_remote.py +++ b/tests/test_remote.py @@ -628,7 +628,7 @@ def test_piping(self): with self._connect() as rem: try: rem["ls"] | rem["cat"] - except NotImplementedError: + except (NotImplementedError, TypeError): pass else: pytest.fail("Should not pipe")