Skip to content

Commit

Permalink
Symlink hip_main.dat.gz so tests always work
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-rhodes committed Jul 21, 2019
1 parent 807a67b commit 92ea3f0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -19,7 +19,6 @@ MANIFEST
MPCORB.DAT
Untitled*.ipynb
build
hip_main.dat.gz
htmlcov/
stations.txt
tmp*.py
1 change: 1 addition & 0 deletions hip_main.dat.gz
2 changes: 1 addition & 1 deletion skyfield/tests/test_stars.py
Expand Up @@ -3,7 +3,7 @@

def test_dataframe():
ts = api.load.timescale(builtin=True)
with api.load.open('ci/hip_main.dat.gz') as f:
with api.load.open('hip_main.dat.gz') as f:
df = load_dataframe(f)
star = api.Star.from_dataframe(df)
assert repr(star) == 'Star(ra shape=214, dec shape=214, ra_mas_per_year shape=214, dec_mas_per_year shape=214, parallax_mas shape=214, epoch shape=214)'

0 comments on commit 92ea3f0

Please sign in to comment.