From 783b6aeed8602aa7775d3d1ff3d567b9a67975c2 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Mon, 30 Jan 2023 22:50:25 +0000 Subject: [PATCH] Fix typo in `tests/regr_test.py` It looks like in #9382, I reintroduced the bug that I previously fixed in #9349 --- tests/regr_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/regr_test.py b/tests/regr_test.py index 2174d5903f55..8e9d942949a3 100644 --- a/tests/regr_test.py +++ b/tests/regr_test.py @@ -221,7 +221,7 @@ def test_testcase_directory( result = run_testcases(package=package, version=version, platform=platform, tempdir=tempdir, verbosity=verbosity) if result.returncode: - if verbosity > Verbosity.QUIET: + if verbosity is Verbosity.QUIET: # We'll already have printed this if --verbosity QUIET wasn't passed. # If --verbosity QUIET was passed, only print this if there were errors. # If there are errors, the output is inscrutable if this isn't printed.