Skip to content

Commit

Permalink
Auto code format (#112)
Browse files Browse the repository at this point in the history
Co-authored-by: bbayukari <[email protected]>
  • Loading branch information
github-actions[bot] and bbayukari authored Jun 22, 2024
1 parent d1ae69a commit 8e338f6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pytest/test_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
def test_numeric_solver(model, solver_creator):
from skscope.numeric_solver import convex_solver_BFGS

solver = solver_creator(model["n_features"], model["n_informative"], numeric_solver=convex_solver_BFGS)
solver = solver_creator(
model["n_features"], model["n_informative"], numeric_solver=convex_solver_BFGS
)
solver.solve(model["loss"], jit=True)

assert set(model["support_set"]) == set(solver.get_support())
Expand Down Expand Up @@ -167,7 +169,9 @@ def test_scope_hessian():


def test_scope_dynamic_max_exchange_num():
solver = ScopeSolver(linear["n_features"], linear["n_informative"], is_dynamic_max_exchange_num=False)
solver = ScopeSolver(
linear["n_features"], linear["n_informative"], is_dynamic_max_exchange_num=False
)
solver.solve(linear["loss"], jit=True)

assert set(linear["support_set"]) == set(solver.support_set)
Expand Down

0 comments on commit 8e338f6

Please sign in to comment.