From 58facc02763b805c123294964ae21721281444f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20M=C3=BCller?= Date: Sat, 16 Jan 2021 20:38:07 +0100 Subject: [PATCH] Fixing wrong command to remove tmp dir --- test/test_icaldownload.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_icaldownload.py b/test/test_icaldownload.py index 895e38d..1f24e77 100644 --- a/test/test_icaldownload.py +++ b/test/test_icaldownload.py @@ -1,6 +1,7 @@ import unittest import icalevents.icaldownload import os +import shutil import logging @@ -94,5 +95,5 @@ DTSTART:19180331T020000 # Delete tmp dir os.chdir("..") - os.remove("tmp") + shutil.rmtree("tmp")