Skip to content

Commit

Permalink
Minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianeboyd committed Nov 28, 2023
1 parent ce743b7 commit abf1cb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spacy_curated_transformers/tests/test_cli_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,9 +330,9 @@ def test_fill_config_transformer(config, output, extra_args):
raise ValueError(
f"Curated Transformer fill config failed! Stderr: \n{result.stderr}"
)
loaded_config = spacy.util.load_config(output_path)
filled_config = spacy.util.load_config(output_path)
expected_config = spacy.util.load_config_from_str(output)
assert loaded_config == expected_config
assert filled_config == expected_config


@pytest.mark.parametrize(
Expand Down

0 comments on commit abf1cb4

Please sign in to comment.