Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Syntax Error: invalid syntax #259
Comments
|
Mock 1.1.0 does not support Python 2.6 This is in the docs (https://github.com/testing-cabal/mock/blob/master/docs/index.txt#L109) and reflected in the trove classifiers too. |
rbtcollins
closed this
Jul 10, 2015
This was referenced Jul 10, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rchrom commentedJul 10, 2015
test/mymock.py:3: in
from mock import Mock, patch
.tox/py26/lib/python2.6/site-packages/mock/init.py:2: in
import mock.mock as _mock
E File "/tmp/.tox/py26/lib/python2.6/site-packages/mock/mock.py", line 132
E builtins = {name for name in dir(builtins) if not name.startswith('')}
E ^
E SyntaxError: invalid syntax