diff options
author | Boxiang Sun <daetalusun@gmail.com> | 2016-05-24 21:33:40 +0800 |
---|---|---|
committer | Boxiang Sun <daetalusun@gmail.com> | 2016-05-24 21:33:40 +0800 |
commit | a0e778177e17347f0bdf309ea2fb29e2dc3e0bf4 (patch) | |
tree | 240a976590226d705b1217c7ca16a8cbe73c3025 /numpy/lib/tests/test_function_base.py | |
parent | 59a7b250d4076d58c8b48bdf3800f2b1eac41e1b (diff) | |
download | numpy-a0e778177e17347f0bdf309ea2fb29e2dc3e0bf4.tar.gz |
do not check the module.__dict__ type explicity
This patch is for Pyston compatibility. In Pyston, the type of module.__dict__
is attrwrapper, which is a dict like type. The test in here is not really care
for particular type, but instead cares for particular behaviour. So change the
expilit type check to a interface check. This check can also get passed in CPython and PyPy
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
0 files changed, 0 insertions, 0 deletions