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 d22f267 commit 5074313Copy full SHA for 5074313
tests/_static_analysis.py
@@ -11,9 +11,9 @@ def defines_function(name: str) -> bool:
11
return check
12
13
def not_in_code(construct: type):
14
- check = construct in static.AbstractSyntaxTree()
+ check = construct not in static.AbstractSyntaxTree()
15
name = str(construct).split(".")[1].split("'")[0].lower()
16
- if check:
+ if not check:
17
raise AssertionError(f"`{name}` mag niet gebruikt worden in deze opdracht")
18
19
0 commit comments