Skip to content

Commit

Permalink
replace uses of pformat_all with pformat
Browse files Browse the repository at this point in the history
  • Loading branch information
javierggt committed Jan 4, 2025
1 parent 10aaa76 commit 3776240
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chandra_aca/tests/test_planets.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def test_get_chandra_planet_horizons(body):
" 5.408 31.76",
]

assert dat.pformat_all() == exp
assert dat.pformat() == exp


@pytest.mark.skipif(not HAS_INTERNET, reason="Requires network access")
Expand All @@ -166,7 +166,7 @@ def test_get_chandra_planet_horizons_non_planet():
"275.29375 -23.83915 349.43 659.97 -- -- --",
]
del dat["time"]
assert dat.pformat_all() == exp
assert dat.pformat() == exp


@pytest.mark.skipif(not HAS_INTERNET, reason="Requires network access")
Expand Down Expand Up @@ -235,4 +235,4 @@ def test_earth_boresight():
]

blocks = get_earth_blocks(start, stop, min_limb_angle=10.0)
assert blocks["datestart", "datestop", "duration"].pformat_all() == exp
assert blocks["datestart", "datestop", "duration"].pformat() == exp

0 comments on commit 3776240

Please sign in to comment.