Skip to content

Instantly share code, notes, and snippets.

@andfoy
Last active November 17, 2023 18:16
Show Gist options
  • Save andfoy/5ff15c9df67c2f8d392fe03574443727 to your computer and use it in GitHub Desktop.
Save andfoy/5ff15c9df67c2f8d392fe03574443727 to your computer and use it in GitHub Desktop.
(cupy-dev) C:\Users\Edgar A Margffoy\cupy>pytest -x -v tests\cupyx_tests\scipy_tests\signal_tests\test_ltisys.py::TestPlacePoles::test_real_2
================================================= test session starts =================================================
platform win32 -- Python 3.11.6, pytest-7.4.3, pluggy-1.3.0 -- C:\Users\Edgar A Margffoy\miniforge3\envs\cupy-dev\python.exe
cachedir: .pytest_cache
rootdir: C:\Users\Edgar A Margffoy\cupy
configfile: setup.cfg
collected 1 item
tests/cupyx_tests/scipy_tests/signal_tests/test_ltisys.py::TestPlacePoles::test_real_2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> PDB set_trace (IO-capturing turned off) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> c:\users\edgar a margffoy\cupy\tests\cupyx_tests\scipy_tests\signal_tests\test_ltisys.py(585)test_real_2()
-> poles = xp.real_if_close(fsf.computed_poles)
(Pdb) interact
*interactive*
>>> fsf.computed_poles
array([2., 2., 3., 3.])
>>> print(f'CuPy dtype: {fsf.computed_poles.dtype}')
CuPy dtype: float64
>>> ^Z
now exiting InteractiveConsole...
(Pdb) c
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> PDB continue (IO-capturing resumed) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> PDB set_trace (IO-capturing turned off) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> c:\users\edgar a margffoy\cupy\tests\cupyx_tests\scipy_tests\signal_tests\test_ltisys.py(585)test_real_2()
-> poles = xp.real_if_close(fsf.computed_poles)
(Pdb) interact
*interactive*
>>> fsf.computed_poles
array([2., 2., 3., 3.])
>>> print(f'SciPy dtype: {fsf.computed_poles.dtype}')
SciPy dtype: float64
>>> ^Z
now exiting InteractiveConsole...
(Pdb) c
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> PDB continue (IO-capturing resumed) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
PASSED [100%]
============================================ 1 passed in 79.07s (0:01:19) =============================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment