test_ok2/_pytest/assertion
Daniel Hahler c629f6b18b Fix `reload()` with modules handled via `python_files`
If a module exists in `sys.modules` already, `load_module` has to return it.

Fixes https://bitbucket.org/pytest-dev/pytest/issue/435

--HG--
branch : fix-reload
2015-03-04 16:21:27 +01:00
..
__init__.py Escape newlines in result from assertrepr hook 2014-04-02 17:35:22 +01:00
newinterpret.py assert reinterpretation: try mangling attributes that look like private class vars (fixes #514) 2014-05-31 14:37:02 -07:00
oldinterpret.py Use py3k compatible .__getattr__() code 2014-09-05 23:55:14 +01:00
reinterpret.py remove extra parentheses - stylistic code change 2014-07-17 08:35:36 +02:00
rewrite.py Fix `reload()` with modules handled via `python_files` 2015-03-04 16:21:27 +01:00
util.py Improve assertion failure reporting on iterables, by using ndiff and pprint. 2014-09-27 01:29:47 +00:00