Skip to content

Commit

Permalink
Remove deprecated sunpy.io.jp2
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby committed Oct 17, 2023
1 parent 06a2a30 commit 0a906ff
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
1 change: 0 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
warnings.filterwarnings("error", category=MatplotlibDeprecationWarning)
warnings.filterwarnings("error", category=AstropyDeprecationWarning)
warnings.filterwarnings("ignore", message="The `sunpy.io.cdf` module is deprecated",category=SunpyDeprecationWarning)
warnings.filterwarnings("ignore", message="The `sunpy.io.jp2` module is deprecated",category=SunpyDeprecationWarning)
warnings.filterwarnings("ignore", message="The `sunpy.io.file_tools` module is deprecated",category=SunpyDeprecationWarning)

# -- SunPy Sample Data and Config ----------------------------------------------
Expand Down
9 changes: 0 additions & 9 deletions sunpy/io/jp2.py

This file was deleted.

5 changes: 0 additions & 5 deletions sunpy/io/tests/test_jp2.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,3 @@ def test_simple_write(tmpdir):
# Sanity check that reading back the jp2 returns coherent data
jp2_readback = _jp2.read(outfile)
assert header['DATE'] == jp2_readback[0].header['DATE']


def test_old_import():
lib = importlib.import_module("sunpy.io.jp2")
assert lib.read is _jp2.read

0 comments on commit 0a906ff

Please sign in to comment.