4698debmodule-02(ex3): add type hint to func test_custom_errors
1 file changed, +1, -1
author
mogi <git@mogiya.dev> on 09-05-2026 22:20 UTC+1
committer
mogi <git@mogiya.dev> on 09-05-2026 22:20 UTC+1
parentb177342
    @@ -23,7 +23,7 @@ def check_water(water_level: int) -> None:
2323         raise WaterError("Not enough water in the tank!")
2424 
2525 
26  -def test_custom_errors():
  26+def test_custom_errors() -> None:
2727     print("=== Custom Garden Errors Demo ===\n")
2828 
2929     print("Testing PlantError...")