Skip to content

Commit

Permalink
Remove alf.files deprecation test
Browse files Browse the repository at this point in the history
  • Loading branch information
k1o0 committed Nov 3, 2024
1 parent 61caa61 commit 965bc82
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions one/tests/alf/test_alf_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,17 +244,5 @@ def test_without_revision(self):
self.assertRegex(str(cm.exception), 'Invalid ALF')


class TestFilesDeprecation(unittest.TestCase):
"""Test files module warns of deprecation."""

@staticmethod
def _some_function(p):
import one.alf.files
return one.alf.files.full_path_parts(p) if p else None

def test_deprecation(self):
self.assertWarns(FutureWarning, self._some_function, None)


if __name__ == '__main__':
unittest.main(exit=False, verbosity=2)

0 comments on commit 965bc82

Please sign in to comment.