Commits

Zero Piraeus  committed 035499b

Remove <tests.decorators.test_patch.test_no_args> (covered by <test_version_args>).

  • Participants
  • Parent commits 4ee2803

Comments (0)

Files changed (1)

File tests/decorators/test_patch.py

     assert tests.decorators.examples.example() == "undecorated"
 
 
-def test_no_args():
-    """`ook.patch` function replaces existing `example` fuinction"""
-    reload(tests.decorators.examples)
-
-    @patch(tests.decorators.examples)
-    def example():
-        """Do nothing."""
-        pass
-
-    assert tests.decorators.examples.example == example
-    assert tests.decorators.examples.example() is None
-
-
 def check_version_args(kwargs, *args):
     """`ook.patch` function respects version arguments"""
     reload(tests.decorators.examples)