Skip to content

Commit 63d9935

Browse files
committed
format
1 parent e3a7168 commit 63d9935

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

cuda_bindings/tests/test_nvvm.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ def test_get_buffer_empty(get_size, get_buffer):
115115
assert buffer == b"\x00"
116116

117117

118-
@pytest.mark.parametrize("options", [[], ["-opt=0"], ["-opt=3", "-g"], [b"-opt=0"], [b"-opt=3", b"-g"], ["-opt=3", b"-g"]])
118+
@pytest.mark.parametrize(
119+
"options", [[], ["-opt=0"], ["-opt=3", "-g"], [b"-opt=0"], [b"-opt=3", b"-g"], ["-opt=3", b"-g"]]
120+
)
119121
def test_compile_program_with_minimal_nvvm_ir(minimal_nvvmir, options): # noqa: F401, F811
120122
with nvvm_program() as prog:
121123
nvvm.add_module_to_program(prog, minimal_nvvmir, len(minimal_nvvmir), "FileNameHere.ll")
@@ -135,7 +137,9 @@ def test_compile_program_with_minimal_nvvm_ir(minimal_nvvmir, options): # noqa:
135137
assert ".visible .entry kernel()" in buffer.decode()
136138

137139

138-
@pytest.mark.parametrize("options", [[], ["-opt=0"], ["-opt=3", "-g"], [b"-opt=0"], [b"-opt=3", b"-g"], ["-opt=3", b"-g"]])
140+
@pytest.mark.parametrize(
141+
"options", [[], ["-opt=0"], ["-opt=3", "-g"], [b"-opt=0"], [b"-opt=3", b"-g"], ["-opt=3", b"-g"]]
142+
)
139143
def test_verify_program_with_minimal_nvvm_ir(minimal_nvvmir, options): # noqa: F401, F811
140144
with nvvm_program() as prog:
141145
nvvm.add_module_to_program(prog, minimal_nvvmir, len(minimal_nvvmir), "FileNameHere.ll")

0 commit comments

Comments
 (0)