Author: Manuel Jacob <m...@manueljacob.de> Branch: py3.3 Changeset: r82270:0a7d0c775a46 Date: 2016-02-15 17:20 +0100 http://bitbucket.org/pypy/pypy/changeset/0a7d0c775a46/
Log: Fix test by checking for correct behaviour. diff --git a/pypy/module/imp/test/test_import.py b/pypy/module/imp/test/test_import.py --- a/pypy/module/imp/test/test_import.py +++ b/pypy/module/imp/test/test_import.py @@ -1105,8 +1105,7 @@ import b except ImportError: pass - assert isinstance(sys.path_importer_cache['yyy'], - imp.NullImporter) + assert sys.path_importer_cache['yyy'] is None finally: sys.path.pop(0) sys.path.pop(0) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit