Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
f8a101d7
Commit
f8a101d7
authored
Dec 07, 2014
by
Jason Swails
Browse files
chemistry.unit -> simtk.unit
parent
f976bb34
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wrappers/python/tests/TestUnits.py
wrappers/python/tests/TestUnits.py
+2
-2
No files found.
wrappers/python/tests/TestUnits.py
View file @
f8a101d7
"""
Tests the functionality in the
chemistry
.unit package.
Tests the functionality in the
simtk
.unit package.
"""
from
__future__
import
division
...
...
@@ -667,7 +667,7 @@ class TestNumpyUnits(QuantityTestCase):
def
testNumpyIsString
(
self
):
""" 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
]])
self
.
assertIsInstance
(
""
,
str
)
self
.
assertTrue
(
_is_string
(
""
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment