Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wrong syntax for assert #2333

Merged
merged 1 commit into from
Aug 23, 2013
Merged

Fix wrong syntax for assert #2333

merged 1 commit into from
Aug 23, 2013

Commits on Aug 23, 2013

  1. Fix wrong syntax for assert

    The assert statement doesn't take parentheses, see
    http://docs.python.org/3.2/reference/simple_stmts.html#assert
    http://docs.python.org/2/reference/simple_stmts.html#grammar-token-assert_stmt
    
    I found this because python gave me the following
    ```SyntaxWarning: assertion is always true, perhaps remove parentheses?```
    Andrea Bedini committed Aug 23, 2013
    Configuration menu
    Copy the full SHA
    25bee51 View commit details
    Browse the repository at this point in the history