Skip to content

Commit

Permalink
plantuml: fix function wrapper in tests not to use deprecated func_name
Browse files Browse the repository at this point in the history
  • Loading branch information
yuja committed May 10, 2016
1 parent d6fc0bb commit e2c412c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def test():
finally:
os.unlink(os.path.join(_srcdir, 'index.rst'))
shutil.rmtree(_outdir)
test.func_name = func.func_name
test.__name__ = func.__name__
return test
return wrapfunc

Expand Down

0 comments on commit e2c412c

Please sign in to comment.