Commit f8a101d7 authored by Jason Swails's avatar Jason Swails
Browse files

chemistry.unit -> simtk.unit

parent f976bb34
""" """
Tests the functionality in the chemistry.unit package. Tests the functionality in the simtk.unit package.
""" """
from __future__ import division from __future__ import division
...@@ -667,7 +667,7 @@ class TestNumpyUnits(QuantityTestCase): ...@@ -667,7 +667,7 @@ class TestNumpyUnits(QuantityTestCase):
def testNumpyIsString(self): def testNumpyIsString(self):
""" Tests the internal _is_string method with numpy Quantities """ """ Tests the internal _is_string method with numpy Quantities """
from chemistry.unit.quantity import _is_string from simtk.unit.quantity import _is_string
a = np.array([[1, 2, 3], [4, 5, 6]]) a = np.array([[1, 2, 3], [4, 5, 6]])
self.assertIsInstance("", str) self.assertIsInstance("", str)
self.assertTrue(_is_string("")) self.assertTrue(_is_string(""))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment