From 71508bed9bf1d12ade1fb0cb2c863b10b2cdae73 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Sat, 5 Oct 2024 01:30:26 -0400 Subject: [PATCH] tests: adapt to correct error Signed-off-by: Henry Schreiner --- tests/test_remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")