Coverage for tests/testCodeUtilities.py : 89%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
""" test that _validate_inputs returns expected values """
# test that it correctly identifies numpy array inputs np.array([3, 4])], ['a', 'b'], 'dummy_method'))
# test that it correctly identifies inputs that are numbers
# test that the correct exception is raised when you pass in # a number a numpy array
# test that the correct exception is raised when you pass in # numpy arrays of different length ['a', 'b'], 'dummy')
# test that an exception is raised if lists (rather than numpy # arrays) are passed in
ee.exception.args[0])
lsst.utils.tests.init() unittest.main() |