Skip to content

Commit

Permalink
Fix imported unit test
Browse files Browse the repository at this point in the history
Configurable actions have moved to pex_config with only a stub
remaining in pipe_tasks. This stub is not a package and thus
cannot be checked with package import syntax. Tests on this
code live in pex_config now.
  • Loading branch information
natelust committed Feb 7, 2023
1 parent b67e518 commit 44ef3ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion python/lsst/pipe/tasks/configurableActions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
'Accessing though lsst.pipe.tasks will be removed from '
'Science Pipelines after release 26.0.0', category=FutureWarning)

from lsst.pex.config.configurableActions import *
from lsst.pex.config.configurableActions import * # noqa: F401 E402, F403
3 changes: 0 additions & 3 deletions tests/test_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ def test_import_script(self):
def test_import_dataFrameActions(self):
self.assertImport("lsst.pipe.tasks.dataFrameActions")

def test_import_configurableActions(self):
self.assertImport("lsst.pipe.tasks.configurableActions")

def assertImport(self, root_pkg):
for file in importlib.resources.contents(root_pkg):
if not file.endswith(".py"):
Expand Down

0 comments on commit 44ef3ac

Please sign in to comment.