[Numpy-svn] [numpy/numpy] a0e778: do not check the module.__dict__ type explicity
GitHub
noreply at github.com
Tue May 24 14:18:04 EDT 2016
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: a0e778177e17347f0bdf309ea2fb29e2dc3e0bf4
https://github.com/numpy/numpy/commit/a0e778177e17347f0bdf309ea2fb29e2dc3e0bf4
Author: Boxiang Sun <daetalusun at gmail.com>
Date: 2016-05-24 (Tue, 24 May 2016)
Changed paths:
M numpy/core/tests/test_api.py
Log Message:
-----------
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
Commit: 75705e2e8d4139985ba61c0de170c10c85027efa
https://github.com/numpy/numpy/commit/75705e2e8d4139985ba61c0de170c10c85027efa
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2016-05-24 (Tue, 24 May 2016)
Changed paths:
M numpy/core/tests/test_api.py
Log Message:
-----------
Merge pull request #7668 from Daetalus/pyston_patch
ENH: Do not check the type of module.__dict__ explicit in test.
Compare: https://github.com/numpy/numpy/compare/b65991aa41ac...75705e2e8d41
More information about the Numpy-svn
mailing list