Skip to content

Commit

Permalink
Changed the module name from 'np' to 'numpy' since the name 'np' was …
Browse files Browse the repository at this point in the history
…raising an ImportError.
  • Loading branch information
jamescam committed Aug 18, 2015
1 parent 4ea71a6 commit a4af260
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions numpy/ma/timer_comparison.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

import numpy as np
from numpy import float_
import np.core.fromnumeric as fromnumeric
import numpy.core.fromnumeric as fromnumeric

from np.testing.utils import build_err_msg
from numpy.testing.utils import build_err_msg

# Fixme: this does not look right.
np.seterr(all='ignore')
Expand Down Expand Up @@ -427,7 +427,7 @@ def test_A(self):
setup_base = ("from __main__ import ModuleTester \n"
"import numpy\n"
"tester = ModuleTester(module)\n")
setup_cur = "import np.ma.core as module\n" + setup_base
setup_cur = "import numpy.ma.core as module\n" + setup_base
(nrepeat, nloop) = (10, 10)

if 1:
Expand Down

0 comments on commit a4af260

Please sign in to comment.