Skip to content

Commit

Permalink
Add skip_compatibility_check
Browse files Browse the repository at this point in the history
  • Loading branch information
keisuke-umezawa committed Nov 20, 2023
1 parent 0e25672 commit 50bb81a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion e2e_tests/test_standalone/test_study_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ def test_load_storage(
def create_storage_file(filename: str):
import optuna

storage = optuna.storages.RDBStorage(f"sqlite:///{filename}")
storage = optuna.storages.RDBStorage(
f"sqlite:///{filename}", skip_compatibility_check=True
)
study = optuna.create_study(study_name=study_name, storage=storage)

def objective(trial: optuna.Trial) -> float:
Expand Down

0 comments on commit 50bb81a

Please sign in to comment.