Skip to content

Commit

Permalink
BUG: Fix for #6569, allowing build_ext --inplace
Browse files Browse the repository at this point in the history
  • Loading branch information
wackywendell committed Oct 28, 2015
1 parent c0e48cf commit 02b42d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion numpy/testing/nosetester.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ class NoseTester(object):
'swig_ext']

def __init__(self, package=None, raise_warnings=None):
if raise_warnings is None and '.dev0' in np.__version__:
if raise_warnings is None and (
not hasattr(np, '__version__') or '.dev0' in np.__version__):
raise_warnings = "develop"
elif raise_warnings is None:
raise_warnings = "release"
Expand Down

0 comments on commit 02b42d4

Please sign in to comment.