o
    e                     @   s(   d dl Zd dlZd dlZdZdd ZdS )    Na  
import pytest
import numpy as np
from numpy.testing import assert_allclose
import scipy
import sys
import pytest

np.random.seed(1234)
x = np.random.randn(10) + 1j * np.random.randn(10)
X = np.fft.fft(x)
# Callable before scipy.fft is imported
with pytest.deprecated_call(match=r'2\.0\.0'):
    y = scipy.ifft(X)
assert_allclose(y, x)

# Callable after scipy.fft is imported
import scipy.fft
with pytest.deprecated_call(match=r'2\.0\.0'):
    y = scipy.ifft(X)
assert_allclose(y, x)

c                  C   sZ   t tjdtg ddlm}  t| rJ | jdksJ ddlm	} |j
tjj	u s+J d S )Nz-cr   )fftz	scipy.fft)ifft)
subprocess
check_callsys
executable	TEST_BODYscipyr   callable__name__r   __wrapped__np)r   r    r   P/var/www/myenv/lib/python3.10/site-packages/scipy/fft/tests/test_fft_function.pytest_fft_function   s   r   )numpyr   r   r   r   r   r   r   r   r   <module>   s
    