mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user