diff --git a/test/functional/interface_ipc.py b/test/functional/interface_ipc.py index 2c9a0022442..89a656f10c5 100755 --- a/test/functional/interface_ipc.py +++ b/test/functional/interface_ipc.py @@ -14,7 +14,7 @@ from test_framework.wallet import MiniWallet # Test may be skipped and not have capnp installed try: import capnp # type: ignore[import] # noqa: F401 -except ImportError: +except ModuleNotFoundError: pass