diff --git a/test/unit/applications/lang/wasm_component.py b/test/unit/applications/lang/wasm_component.py index 1d58afd6a..a6c8dd140 100644 --- a/test/unit/applications/lang/wasm_component.py +++ b/test/unit/applications/lang/wasm_component.py @@ -11,7 +11,10 @@ class ApplicationWasmComponent(ApplicationProto): @staticmethod def prepare_env(script): try: - subprocess.check_output(['cargo', 'component', '--help']) + subprocess.check_output( + ['cargo', 'component', '--help'], + stderr=subprocess.STDOUT, + ) except (subprocess.CalledProcessError, FileNotFoundError): return None