Skip to content

Commit 4804269

Browse files
committed
Applied the pre-commit
1 parent efc6411 commit 4804269

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

dpnp/tests/helper.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ def _assert_shape(a, b):
2525
# numpy output is scalar, then dpnp is 0-D array
2626
assert a.shape == (), f"{a.shape} != ()"
2727

28-
def _get_dev_mask(device = None):
28+
29+
def _get_dev_mask(device=None):
2930
dev = dpctl.select_default_device() if device is None else device
3031
dev_info = dpctl.utils.intel_device_info(dev)
3132
return dev_info.get("device_id", 0) & 0xFF00

dpnp/tests/test_arraycreation.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,11 @@ def test_geomspace_num0():
917917
@pytest.mark.parametrize("endpoint", [True, False])
918918
def test_logspace(dtype, num, endpoint):
919919
if not is_win_platform() and is_iris_xe() and is_lts_driver():
920-
if dpnp.issubdtype(dtype, dpnp.integer) and num in [8, 27] and endpoint is True:
920+
if (
921+
dpnp.issubdtype(dtype, dpnp.integer)
922+
and num in [8, 27]
923+
and endpoint is True
924+
):
921925
pytest.skip("SAT-7978")
922926

923927
start = 2

0 commit comments

Comments
 (0)