Skip to content

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Oct 31, 2018
1 parent 36b67ec commit c11e1c7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_kepler.py
Expand Up @@ -44,13 +44,13 @@
def test_kepler():
x, y, z = gr.keplerian2ecef(dat)

assert x == approx(xref,rel=1e-4)
assert y == approx(yref,rel=1e-4)
assert z == approx(zref,rel=1e-4)
assert x == approx(xref, rel=1e-4)
assert y == approx(yref, rel=1e-4)
assert z == approx(zref, rel=1e-4)

magerr = np.sqrt((x-xref)**2 + (y-yref)**2 + (z-zref)**2)
print('error magnitude [meters]', magerr)


if __name__ == '__main__':
pytest.main(['-x',__file__])
pytest.main(['-x', __file__])

0 comments on commit c11e1c7

Please sign in to comment.