Skip to content

Commit 10d7010

Browse files
Format sample verification test
Signed-off-by: Mangesh Raut <[email protected]>
1 parent b462a85 commit 10d7010

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎cuda_core/tests/example_tests/test_sample_verification.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,7 @@ def test_multi_gpu_samples_count_cuda_visible_devices(sample_name: str) -> None:
108108

109109
assert any(ast.dump(node) == ast.dump(expected_count) for node in ast.walk(tree))
110110
assert not any(
111-
isinstance(node, ast.Call)
112-
and isinstance(node.func, ast.Attribute)
113-
and node.func.attr == "get_num_devices"
111+
isinstance(node, ast.Call) and isinstance(node.func, ast.Attribute) and node.func.attr == "get_num_devices"
114112
for node in ast.walk(tree)
115113
)
116114

0 commit comments

Comments
 (0)