Closed Alnusjaponica closed 9 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
33a2d2d
) 64.59% compared to head (3f0344d
) 64.59%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Motivation
Fix CI failure in
optuna/example
. See https://github.com/optuna/optuna-examples/actions/runs/7845757202Description of the changes
Fix wrong import path to
try_import()
, which was brought by https://github.com/optuna/optuna-integration/pull/65.with open optuna_integration._imports.try_import() as _imports:
fails sinceoptuna_integration._imports
and_imports
causes name collision (cf. PEP343) See https://github.com/Alnusjaponica/optuna-examples/pull/3 for the outcome.