From 346beedfd40fe97f302645377cf90dbd916b44fd Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Thu, 22 Oct 2020 12:37:00 +0200 Subject: Fix installer.py unit tests that check output --- lib/spack/spack/solver/asp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/spack/spack/solver/asp.py b/lib/spack/spack/solver/asp.py index 9e37ab5cf8..55e18e88e8 100644 --- a/lib/spack/spack/solver/asp.py +++ b/lib/spack/spack/solver/asp.py @@ -1667,7 +1667,8 @@ class SpecBuilder(object): # print out unknown actions so we can display them for debugging if not action: - print("%s(%s)" % (name, ", ".join(str(a) for a in args))) + msg = "%s(%s)" % (name, ", ".join(str(a) for a in args)) + tty.debug(msg) continue assert action and callable(action) -- cgit v1.2.3-60-g2f50