test_ok2/_pytest/assertion
Marc Abramowitz 81f822d528 Only try to remove hook from sys.meta_path if it's present
Prevent error on exit if some code messes with sys.meta_path and removes the
assertionrewrite hook (CaptureMock seems to do this):

      File "/Users/marca/dev/hg-repos/pytest/_pytest/assertion/__init__.py", line 64, in pytest_unconfigure
        sys.meta_path.remove(hook)
    ValueError: list.remove(x): x not in list

--HG--
branch : sys_meta_path_remove_hook_only_if_present
2014-03-28 00:33:12 -07:00
..
__init__.py Only try to remove hook from sys.meta_path if it's present 2014-03-28 00:33:12 -07:00
newinterpret.py prolong workaround for jython AST bug http://bugs.jython.org/issue1497 2012-11-07 10:05:39 +01:00
oldinterpret.py fix some pep8 issues, more to go ... is there a tool that helps with pep8-ifying? 2012-06-21 11:20:29 +02:00
reinterpret.py fix expicit assert messages for Python2.6: it turns out python2.6 2013-12-12 06:41:48 +01:00
rewrite.py replace py.test module references with pytest 2014-01-18 12:31:33 +01:00
util.py Fix assertrepr for mojibake 2014-01-29 00:42:58 +00:00