We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b564166 commit 6efc89cCopy full SHA for 6efc89c
challenges/basic-any/solution.py
@@ -1,8 +1,14 @@
1
+"""
2
+TODO:
3
+
4
+Modify `foo` so it takes an argument of arbitrary type.
5
6
7
from typing import Any
8
9
10
def foo(x: Any):
- pass
11
+ """⬆️ Change me. No need to implement the function."""
12
13
14
## End of your code ##
tests/test_questions.py
@@ -10,10 +10,6 @@
def test_solution_valid(question_file: Path):
- # Skip the challenges whose question can't fail type check no matter how many tests are added.
- if question_file.parent.name == "basic-any":
15
- pytest.skip(f"Skipping test: {question_file}")
16
-
17
with question_file.open() as f:
18
code = f.read()
19
result = ChallengeManager._type_check_with_pyright(user_code="", test_code=code)
0 commit comments