Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 28, 2024
1 parent e3fb42e commit f416666
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_vasp_poscar_to_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def setUp(self):
def tearDown(self):
if os.path.exists(self.tmp_file):
os.remove(self.tmp_file)

def test_move_flags_error1(self):
with self.assertRaisesRegex(RuntimeError, "Invalid move flags.*?"):
dpdata.System().from_vasp_poscar(os.path.join("poscars", "POSCAR.oh.err1"))
Expand Down

0 comments on commit f416666

Please sign in to comment.