Permalink
Browse files

Merge pull request #466 from eteq/remove-data

remove astropy/data directory
  • Loading branch information...
eteq committed Nov 14, 2012
2 parents edcee79 + 20095a3 commit f465e535810d6cfcffdde2fd6336da3be2b679c5
Showing with 6 additions and 9 deletions.
  1. +0 −7 astropy/data/README.rst
  2. +6 −2 astropy/utils/tests/test_data.py
View
@@ -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.
-
@@ -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)

0 comments on commit f465e53

Please sign in to comment.