Skip to content

Commit

Permalink
modify test_pyfftw_numpy_interfaces to avoid testing against mkl_fft
Browse files Browse the repository at this point in the history
  • Loading branch information
grlee77 committed Sep 15, 2018
1 parent 002bc2f commit 119cc88
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/test_pyfftw_numpy_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@
from distutils.version import LooseVersion
import unittest
import numpy
from numpy import fft as np_fft
try:
import mkl_fft
# mkl_fft monkeypatches numpy.fft so explicitly import from fftpack instead
from numpy.fft import fftpack as np_fft
except ImportError:
from numpy import fft as np_fft
import warnings
import copy
warnings.filterwarnings('always')
Expand Down

0 comments on commit 119cc88

Please sign in to comment.