Skip to content

Commit

Permalink
Update CIF test for new warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhorton committed Jul 7, 2019
1 parent 12caec2 commit 862b26c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymatgen/io/tests/test_cif.py
Expand Up @@ -873,8 +873,8 @@ def test_replacing_finite_precision_frac_coords(self):
p = CifParser(f)
s = p.get_structures()[0]
self.assertEqual(str(s.composition), "N5+24")
self.assertIn("Some fractional co-ordinates rounded to ideal values to "
"avoid finite precision errors.", p.warnings)
self.assertIn("Some fractional co-ordinates rounded to ideal "
"values to avoid issues with finite precision.", p.warnings)

def test_empty_deque(self):
s = """data_1526655
Expand Down

0 comments on commit 862b26c

Please sign in to comment.