Cleanup: use static sets for contains checks, remove f-string use

This commit is contained in:
Campbell Barton
2024-02-28 11:02:49 +11:00
parent f04bd961fd
commit 4f8db2ee67
6 changed files with 8 additions and 8 deletions

View File

@@ -144,7 +144,7 @@ def main():
# underwater_caustics.blend gives quite different results on Linux and Intel macOS compared to
# Windows and Arm macOS.
test_dir_name = Path(test_dir).name
if test_dir_name in ('motion_blur', 'integrator', ):
if test_dir_name in {'motion_blur', 'integrator'}:
report.set_fail_threshold(0.032)
ok = report.run(test_dir, blender, get_arguments, batch=args.batch)