Fix typo in tests/regr_test.py (#9628)

It looks like in #9382, I reintroduced the bug that I previously fixed in #9349
This commit is contained in:
Alex Waygood
2023-01-30 22:56:44 +00:00
committed by GitHub
parent 9099403d58
commit 94065d3aa5

View File

@@ -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.