@@ -500,29 +500,29 @@ def test_0D(self, dtype):
500500 a = dpnp .array (3 , dtype = dtype ) # 0-D input
501501
502502 # axes is None
503- # For 0-D array, stock Numpy and dpnp return input array
503+ # For 0-D array, stock NumPy and dpnp return input array
504504 # while Intel NumPy return a complex zero
505505 result = dpnp .fft .fftn (a )
506506 expected = a .asnumpy ()
507507 assert_dtype_allclose (result , expected )
508508
509509 # axes=()
510- # For 0-D array with axes=(), stock Numpy and dpnp return input array
510+ # For 0-D array with axes=(), stock NumPy and dpnp return input array
511511 # Intel NumPy does not support empty axes and raises an Error
512512 result = dpnp .fft .fftn (a , axes = ())
513513 expected = a .asnumpy ()
514514 assert_dtype_allclose (result , expected )
515515
516516 # axes=(0,)
517- # For 0-D array with non-empty axes, stock Numpy and dpnp raise
517+ # For 0-D array with non-empty axes, stock NumPy and dpnp raise
518518 # IndexError, while Intel NumPy raises ZeroDivisionError
519519 assert_raises (IndexError , dpnp .fft .fftn , a , axes = (0 ,))
520520
521521 @pytest .mark .parametrize ("dtype" , get_all_dtypes (no_none = True ))
522522 def test_empty_axes (self , dtype ):
523523 a = dpnp .ones ((2 , 3 , 4 ), dtype = dtype )
524524
525- # For axes=(), stock Numpy and dpnp return input array
525+ # For axes=(), stock NumPy and dpnp return input array
526526 # Intel NumPy does not support empty axes and raises an Error
527527 result = dpnp .fft .fftn (a , axes = ())
528528 expected = a .asnumpy ()
0 commit comments