Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chaoming0625 committed Dec 11, 2024
1 parent 1fa4f8f commit f8edc53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brainunit/_base_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def test_display(self):
assert_equal(str(u.kmeter / u.meter), 'Unit(10.0^3)')

def test_unit_with_factor(self):
self.assertTrue(1. * u.eV / u.joule == 1.6021765e-19)
self.assertTrue(1. * u.eV / u.joule == 1.6021766e-19)
self.assertTrue(1. * u.joule / u.eV == 6.241509074460762e18)


Expand Down

0 comments on commit f8edc53

Please sign in to comment.