Skip to content

Commit

Permalink
filter out undocumented time format
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Feb 19, 2024
1 parent 71c1aaa commit 6433830
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions asdf_astropy/converters/time/tests/test_time.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ def create_formats():

formats = []
for format_ in TIME_FORMATS:
if format_ == "stardate":
# stardate is not a documented format for astropy
# https://docs.astropy.org/en/latest/time/index.html#time-format
continue
new = Time("B2000.0")
new.format = format_
formats.append(new)
Expand Down

0 comments on commit 6433830

Please sign in to comment.