@testing.requires_testing_data
def test_get_trans():
 trans = read_trans(fname)
 trans = invert_transform(trans)
 trans_2 = _get_trans(fname_trans)[0]
 assert_equal(trans['from'], trans_2['from'])
 assert_equal(trans['to'], trans_2['to'])
 assert_allclose(trans['trans'], trans_2['trans'], rtol=1e-05, atol=1e-05)

@ testing . requires_testing_data def test_get_trans ( ) : trans = read_trans ( fname ) trans = invert_transform ( trans ) trans_2 = _get_trans ( fname_trans ) [ 0 ] assert_equal ( trans [ 'from' ] , trans_2 [ 'from' ] ) assert_equal ( trans [ 'to' ] , trans_2 [ 'to' ] ) assert_allclose ( trans [ 'trans' ] , trans_2 [ 'trans' ] , rtol = 1e-05 , atol = 1e-05 )
test converting -trans .