Skip to content

Commit

Permalink
Exclude deprecated functions from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofrog committed Aug 16, 2015
1 parent 7d58755 commit 170590e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions glue/core/data_factories/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,12 +266,12 @@ def data_label(path):


@contract(extension='string', factory='callable')
def set_default_factory(extension, factory):
def set_default_factory(extension, factory): # pragma: no cover
warnings.warn("set_default_factory is deprecated and no longer has any effect")


@contract(extension='string', returns='callable|None')
def get_default_factory(extension):
def get_default_factory(extension): # pragma: no cover
warnings.warn("get_default_factory is deprecated and will always return None")
return None

Expand Down

0 comments on commit 170590e

Please sign in to comment.