Skip to content

Commit 6efc89c

Browse files
committed
Remove the exception for basic-any from test
1 parent b564166 commit 6efc89c

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

challenges/basic-any/solution.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1+
"""
2+
TODO:
3+
4+
Modify `foo` so it takes an argument of arbitrary type.
5+
"""
6+
17
from typing import Any
28

39

410
def foo(x: Any):
5-
pass
11+
"""⬆️ Change me. No need to implement the function."""
612

713

814
## End of your code ##

tests/test_questions.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010

1111

1212
def test_solution_valid(question_file: Path):
13-
# Skip the challenges whose question can't fail type check no matter how many tests are added.
14-
if question_file.parent.name == "basic-any":
15-
pytest.skip(f"Skipping test: {question_file}")
16-
1713
with question_file.open() as f:
1814
code = f.read()
1915
result = ChallengeManager._type_check_with_pyright(user_code="", test_code=code)

0 commit comments

Comments
 (0)