Skip to content

Commit

Permalink
Merge pull request #119 from FedericoStra/develop
Browse files Browse the repository at this point in the history
Fix test_function.py
  • Loading branch information
GrahamDumpleton committed Aug 22, 2018
2 parents f41d3fb + c1de414 commit 5445543
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions tests/test_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,8 @@ def function1(arg):
return arg

function1o = function1

@decorators.passthru_decorator
def function(arg):
'''documentation'''
return arg

function1d = function1
function1d = decorators.passthru_decorator(function1)
assert(function1d is not function1o)

class TestNamingFunction(unittest.TestCase):

Expand Down

0 comments on commit 5445543

Please sign in to comment.