##// END OF EJS Templates
Fix regression in embed() from pull-request #2096....
Fix regression in embed() from pull-request #2096. With certain sets of arguments `compile_flags` might be left as `None`. This caused IPython to internally raise a TypeError when it tried to do a bitwise or between `shell.compile.flags` and `PyCF_ONLY_AST` in `CachingCompiler.ast_parse`. The regression was introduced in: b70ac12 embed(): Default to the future compile flags of the calling frame.

File last commit:

r7928:16b88195
r8130:89b4dd76
Show More
tox.ini
19 lines | 492 B | text/x-ini | IniLexer
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py26, py27, py32
[testenv]
commands =
pip install -q --use-mirrors nose
easy_install -q pyzmq
iptest -w /tmp
[testenv:py32]
commands =
pip install -q --use-mirrors nose
easy_install -q pyzmq
iptest3 -w /tmp