Syntax Error: invalid syntax #259

Closed
rchrom opened this Issue Jul 10, 2015 · 1 comment

Comments

Projects
None yet
2 participants

rchrom commented Jul 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

Owner

rbtcollins commented Jul 10, 2015

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 rbtcollins closed this Jul 10, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment