10000 Merge pull request #7668 from Daetalus/pyston_patch · numpy/numpy@75705e2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 75705e2

Browse files
committed
Merge pull request #7668 from Daetalus/pyston_patch
ENH: Do not check the type of module.__dict__ explicit in test.
2 parents b65991a + a0e7781 commit 75705e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/core/tests/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def test_array_array():
6464
np.ones((), dtype=U5))
6565

6666
builtins = getattr(__builtins__, '__dict__', __builtins__)
67-
assert_(isinstance(builtins, dict))
67+
assert_(hasattr(builtins, 'get'))
6868

6969
# test buffer
7070
_buffer = builtins.get("buffer")

0 commit comments

Comments
 (0)
0