Skip to content

Conversation

andreabedini
Copy link

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?

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?```
@andreabedini
Copy link
Author

Travis CI build failure seems to be unrelated.

pelson added a commit that referenced this pull request Aug 23, 2013
@pelson pelson merged commit 15b9848 into matplotlib:master Aug 23, 2013
@mdboom
Copy link
Member

mdboom commented Aug 26, 2013

FWIW: not applicable to 1.3.x

@andreabedini andreabedini deleted the patch-3 branch August 28, 2013 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants