Author: Armin Rigo <ar...@tunes.org> Branch: cffi-1.0 Changeset: r1967:a6d2d25ad174 Date: 2015-05-11 11:20 +0200 http://bitbucket.org/cffi/cffi/changeset/a6d2d25ad174/
Log: Passing test diff --git a/_cffi1/test_recompiler.py b/_cffi1/test_recompiler.py --- a/_cffi1/test_recompiler.py +++ b/_cffi1/test_recompiler.py @@ -467,6 +467,8 @@ sys.path.insert(0, str(udir)) import test_module_name_in_package.mymod assert test_module_name_in_package.mymod.lib.foo(10) == 42 + assert test_module_name_in_package.mymod.__name__ == ( + 'test_module_name_in_package.mymod') finally: sys.path[:] = old_sys_path _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit