Forgot to remove debug prints

pull/72/head
Patrick Müller 2021-01-16 23:02:05 +01:00
rodzic 58facc0276
commit e7afadeeb4
1 zmienionych plików z 0 dodań i 4 usunięć

Wyświetl plik

@ -81,18 +81,14 @@ DTSTART:19180331T020000
os.chmod(os.getcwd(), 0o500)
# Assert log message is being thrown
logger = logging.getLogger()
try:
with self.assertLogs(level="WARNING") as cm:
# Create new ICalDownload instance which will try to create the .cache directory
ical_download = icalevents.icaldownload.ICalDownload(http=None)
finally:
# Change directory back to old permissions
print(oldPerms)
os.chmod(os.getcwd(), oldPerms)
print(os.stat(os.getcwd()))
# Delete tmp dir
os.chdir("..")
shutil.rmtree("tmp")