Skip to content

Commit 5962785

Browse files
vtavanaantonwolfy
andauthored
Apply suggestions from code review
Co-authored-by: Anton <[email protected]>
1 parent 3aae5e9 commit 5962785

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dpnp/tests/test_ndarray.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
class TestAsType:
2424
@pytest.mark.usefixtures("suppress_complex_warning")
25-
@pytest.mark.parametrize("res_dtype", get_all_dtypes(no_none=True))
25+
@pytest.mark.parametrize("res_dtype", get_all_dtypes())
2626
@pytest.mark.parametrize("arr_dtype", get_all_dtypes(no_none=True))
2727
@pytest.mark.parametrize(
2828
"arr",
@@ -377,7 +377,7 @@ def test_print_dpnp_zero_shape():
377377
@pytest.mark.parametrize("func", [bool, float, int, complex])
378378
@pytest.mark.parametrize("shape", [tuple(), (1,), (1, 1), (1, 1, 1)])
379379
@pytest.mark.parametrize(
380-
"dtype", get_all_dtypes(no_none=True, no_float16=False, no_complex=True)
380+
"dtype", get_all_dtypes(no_float16=False, no_complex=True)
381381
)
382382
def test_scalar_type_casting(func, shape, dtype):
383383
a = numpy.full(shape, 5, dtype=dtype)
@@ -393,7 +393,7 @@ def test_scalar_type_casting(func, shape, dtype):
393393
)
394394
@pytest.mark.parametrize("shape", [tuple(), (1,), (1, 1), (1, 1, 1)])
395395
@pytest.mark.parametrize(
396-
"dtype", get_all_dtypes(no_none=True, no_float16=False, no_complex=True)
396+
"dtype", get_all_dtypes(no_float16=False, no_complex=True)
397397
)
398398
def test_scalar_type_casting_by_method(method, shape, dtype):
399399
a = numpy.full(shape, 4.7, dtype=dtype)

0 commit comments

Comments
 (0)