Skip to content

Commit

Permalink
AI suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
tovrstra committed Jun 21, 2024
1 parent 96b296a commit cfbbceb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion iodata/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def dump_one(iodata: IOData, filename: str, fmt: Optional[str] = None, **kwargs)
------
DumpError
When an error is encountered while dumping to a file.
If the output file already existed, it (partially) overwritten.
If the output file already existed, it is (partially) overwritten.
PrepareDumpError
When the iodata object is not compatible with the file format,
e.g. due to missing attributes, and not conversion is available or allowed
Expand Down
2 changes: 1 addition & 1 deletion iodata/test/test_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def test_qcschema_molecule(filename, atnums, charge, spinpol, geometry, nwarn):
if nwarn == 0:
mol = load_one(str(qcschema_molecule))
else:
with pytest.warns() as record:
with pytest.warns(LoadWarning) as record:
mol = load_one(str(qcschema_molecule))
assert len(record) == nwarn

Expand Down

0 comments on commit cfbbceb

Please sign in to comment.