mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +03:00
nixos/test-driver: fix return value of subtest function
Mypy since version 1.10.0 complains about this: > test_driver/driver.py:109: error: No return value expected [return-value]
This commit is contained in:
parent
2d9e3b2a22
commit
ab897a8c62
1 changed files with 0 additions and 1 deletions
|
@ -106,7 +106,6 @@ class Driver:
|
|||
with self.logger.subtest(name):
|
||||
try:
|
||||
yield
|
||||
return True
|
||||
except Exception as e:
|
||||
self.logger.error(f'Test "{name}" failed with error: "{e}"')
|
||||
raise e
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue