We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c5395a commit 2a48e4bCopy full SHA for 2a48e4b
1 file changed
source/linear-algebra/exercises/outcomes/AT/AT5/generator.sage
@@ -125,11 +125,11 @@ class Generator(BaseGenerator):
125
otimes = lambda c,v : theta(times(c,untheta(v)))
126
127
trueproperties, falseproperties = verify(oplus,otimes)
128
+
129
for prop in true_no_check_properties:
- if prop in trueproperties.keys():
130
- trueproperties.pop(prop)
131
- else:
132
- print("WARNING: Property "+prop + " was false.")
+ assert prop in trueproperties.keys()
+ trueproperties.pop(prop)
133
trueproperty, verification = choice(list(trueproperties.items()))
134
135
return {
0 commit comments