Skip to content

Commit

Permalink
Remove deprecated sunpy.io.file_tools
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby committed Oct 17, 2023
1 parent 06a2a30 commit 7ffec69
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 19 deletions.
5 changes: 0 additions & 5 deletions sunpy/io/_file_tools.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
"""
This module provides a generic file reader for internal use.
.. warning::
``sunpy.io.file_tools`` is deprecated, and will be removed in sunpy 4.1. This is
because it was designed for internal use only.
"""
import re
import gzip
Expand Down
9 changes: 0 additions & 9 deletions sunpy/io/file_tools.py

This file was deleted.

5 changes: 0 additions & 5 deletions sunpy/io/tests/test_filetools.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,3 @@ def test_write_file_fits_bytes():
assert np.all(np.equal(outpair[0], aiapair[0]))
assert outpair[1] == aiapair[1]
os.remove("aia_171_image_bytes.fits")


def test_old_import():
lib = importlib.import_module("sunpy.io.file_tools")
assert lib.read_file is sunpy.io.read_file

0 comments on commit 7ffec69

Please sign in to comment.