Skip to content

Commit

Permalink
Fix the pre-commit checks (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
yakutovicha authored Oct 30, 2023
1 parent bc2771f commit 973c476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorial/tests/test_functional_programming.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def reference_filter_even(my_list: List[int]) -> List[int]:
)
def test_filter_even(function_to_test: Callable, my_list: List[int]):
res = function_to_test(my_list)
assert type(res) == list, "The function you wrote does not return a list"
assert isinstance(res, list), "The function you wrote does not return a list"
assert res == reference_filter_even(
my_list
), "The list you return is not equal to the expected solution"
Expand Down

0 comments on commit 973c476

Please sign in to comment.