##// END OF EJS Templates
Remove EventManager reset methods, because they violate encapsulation....
Remove EventManager reset methods, because they violate encapsulation. The whole idea of the EventManager is that you can register hooks without worrying about what hooks other pieces of code might be registering. The reset methods violate this separation of concerns, since they will blow away everyone else's hooks too. (See gh-6680 for an example of this breaking things.) Since there is never any safe way to use them, we simply remove them entirely.

File last commit:

r17696:0b2167ee
r18547:4043b271
Show More
tox.ini
46 lines | 1.2 KiB | 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.
# Building the source distribution requires both fabric's fab binary
# (http://www.fabfile.org/) and the lessc binary of the css preprocessor
# less (http://lesscss.org/) in the PATH.
# "pip install fabric" will install fabric. Less can be installed by
# node.js' (http://nodejs.org/) package manager npm:
# "npm install -g less".
# Javascript tests need additional dependencies that can be installed
# using node.js' package manager npm:
# [*] casperjs: "npm install -g casperjs"
# [*] slimerjs: "npm install -g slimerjs"
# [*] phantomjs: "npm install -g phantomjs"
# Note: qt4 versions break some tests with tornado versions >=4.0.
[tox]
envlist = py27, py33, py34
[testenv]
deps =
pyzmq
nose
tornado<4.0
jinja2
sphinx
pygments
jsonpointer
jsonschema
mistune
# To avoid loading IPython module in the current directory, change
# current directory to ".tox/py*/tmp" before running test.
changedir = {envtmpdir}
commands =
iptest --all
[testenv:py27]
deps=
mock
{[testenv]deps}