Skip to content

Commit

Permalink
Fixes to unittest.
Browse files Browse the repository at this point in the history
  • Loading branch information
shyuep committed Jan 20, 2016
1 parent 3ce3793 commit 3ee55b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymatgen/io/vasp/tests/test_outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ def test_init(self):
filepath = os.path.join(test_dir, 'PROCAR.simple')
p = Procar(filepath)
self.assertAlmostEqual(p.get_occupation(0, 'd'), 0)
self.assertAlmostEqual(p.get_occupation(0, 's'), 0.3538125)
self.assertAlmostEqual(p.get_occupation(0, 's'), 0.7076250000000001)
self.assertAlmostEqual(p.get_occupation(0, 'p'), 1.19540625)
self.assertRaises(ValueError, p.get_occupation, 1, 'm')
self.assertEqual(p.nbands, 10)
Expand Down

0 comments on commit 3ee55b3

Please sign in to comment.