You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
compiler warning for file "asd.jou", line 2: this code will never run
The error message is misleading. The code does run, it just never fails the assert. Something like condition of 'assert' is always True would be much better.
When the error message says "this code", it means the code for handling failed assertions. The code above is equivalent to:
Misleading yes, but why would you be doing assert True? I could understand assert True == True and the former giving an error like assert lacks conditional statement.
this outputs:
The error message is misleading. The code does run, it just never fails the assert. Something like
condition of 'assert' is always True
would be much better.When the error message says "this code", it means the code for handling failed assertions. The code above is equivalent to:
The text was updated successfully, but these errors were encountered: