Skip to content

Commit

Permalink
Change fixture so that tests don't fail if run in random order (#437)
Browse files Browse the repository at this point in the history
  • Loading branch information
mauvilsa authored Jan 26, 2024
1 parent 3c8358c commit 9d02f37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsonargparse_tests/test_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def test_yes_no_action_move_to_subparser(parser, subparser):
# ActionParser tests


@pytest.fixture(scope="module")
@pytest.fixture
def composed_parsers(tmp_path_factory):
parser_lv3 = ArgumentParser(prog="lv3", default_env=False)
parser_lv3.add_argument("--opt3", default="opt3_def")
Expand Down

0 comments on commit 9d02f37

Please sign in to comment.