From c2f9ccb7d8e68ebc7c100442d0001d969f03a218 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Sat, 25 Jun 2016 10:49:22 +0200 Subject: [PATCH] Remove temporary directory even if it's not empty --- test/test_python_cscripts.py | 2 +- test/test_python_ctools.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_python_cscripts.py b/test/test_python_cscripts.py index 09eea3a..71c890f 100755 --- a/test/test_python_cscripts.py +++ b/test/test_python_cscripts.py @@ -190,7 +190,7 @@ def test(installed=False, debug=False): # Remove temporary direction if installed: - os.rmdir(path) + os.system('rm -f %s' % (path)) # Exit with return code sys.exit(rc) diff --git a/test/test_python_ctools.py b/test/test_python_ctools.py index db05434..6633e2b 100755 --- a/test/test_python_ctools.py +++ b/test/test_python_ctools.py @@ -160,7 +160,7 @@ def test(installed=False): # Remove temporary direction if installed: - os.rmdir(path) + os.system('rm -f %s' % (path)) # Exit with return code sys.exit(rc) -- libgit2 0.21.4