Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #466 from eteq/remove-data

remove astropy/data directory
  • Loading branch information...
commit f465e535810d6cfcffdde2fd6336da3be2b679c5 2 parents edcee79 + 20095a3
@eteq eteq authored
Showing with 6 additions and 9 deletions.
  1. +0 −7 astropy/data/README.rst
  2. +6 −2 astropy/utils/tests/test_data.py
View
7 astropy/data/README.rst
@@ -1,7 +0,0 @@
-Data directory
-==============
-
-This directory contains data files included with the astropy source code
-distribution. Note that this is intended only for relatively small files -
-large files should be externally hosted and downloaded as needed.
-
View
8 astropy/utils/tests/test_data.py
@@ -81,9 +81,13 @@ def test_local_data_name():
fnout = get_pkg_data_filename('data/local.dat')
assert os.path.isfile(fnout) and fnout.endswith('local.dat')
+ #TODO: if in the future, the root data/ directory is added in, the below
+ #test should be uncommented and the README.rst should be replaced with
+ #whatever file is there
+
#get something in the astropy root
- fnout2 = get_pkg_data_filename('../../data/README.rst')
- assert os.path.isfile(fnout2) and fnout2.endswith('README.rst')
+ #fnout2 = get_pkg_data_filename('../../data/README.rst')
+ #assert os.path.isfile(fnout2) and fnout2.endswith('README.rst')
@raises(AssertionError)
Please sign in to comment.
Something went wrong with that request. Please try again.