chore: format python code with black

This commit is contained in:
youben11
2022-03-29 14:16:53 +01:00
committed by Ayoub Benaissa
parent 17c72f2e2d
commit 51308058c1
10 changed files with 133 additions and 95 deletions

View File

@@ -7,6 +7,7 @@ from concrete.compiler import CompilerEngine
KEY_SET_CACHE_PATH = os.path.join(tempfile.gettempdir(), "KeySetCache")
@pytest.mark.parallel
@pytest.mark.parametrize(
"mlir_input, args, expected_result",
@@ -45,7 +46,7 @@ def test_compile_and_run_parallel(mlir_input, args, expected_result):
engine.compile_fhe(
mlir_input,
unsecure_key_set_cache_path=KEY_SET_CACHE_PATH,
auto_parallelize=True
auto_parallelize=True,
)
if isinstance(expected_result, int):
assert engine.run(*args) == expected_result