Skip to content

Commit

Permalink
Update test_lightning_cli_help for future change in jsonargparse (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mauvilsa committed Jun 21, 2024
1 parent d3a0ada commit 5981aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests_pytorch/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ def test_lightning_cli_help():
), pytest.raises(SystemExit):
any_model_any_data_cli()

assert "--data.init_args.data_dir" in out.getvalue()
assert ("--data.data_dir" in out.getvalue()) or ("--data.init_args.data_dir" in out.getvalue())


def test_lightning_cli_print_config():
Expand Down

0 comments on commit 5981aeb

Please sign in to comment.