From 31fd955dfcc8176fd65f92fa859374387d3e0095 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Sun, 2 Oct 2016 10:13:22 -0400 Subject: BF: @with_rw_directory must return decorated call As it was - many tests were simply not accounted/run at all --- git/test/lib/helper.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'git/test/lib/helper.py') diff --git a/git/test/lib/helper.py b/git/test/lib/helper.py index a85ac2fd..cf5efa9e 100644 --- a/git/test/lib/helper.py +++ b/git/test/lib/helper.py @@ -107,6 +107,8 @@ def with_rw_directory(func): gc.collect() if not keep: rmtree(path) + wrapper.__name__ = func.__name__ + return wrapper def with_rw_repo(working_tree_ref, bare=False): -- cgit v1.2.3