From 2ec80faae5ecdf3e9deb258cb6e2b37ef7ca6ce1 Mon Sep 17 00:00:00 2001
From: Fred Drake <fdrake@acm.org>
Date: Mon, 23 Oct 2000 16:59:35 +0000
Subject: [PATCH] Clean up the temporary file when done with it.

---
 Lib/test/test_file.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Lib/test/test_file.py b/Lib/test/test_file.py
index 4ad5c95d32..d73167ad43 100644
--- a/Lib/test/test_file.py
+++ b/Lib/test/test_file.py
@@ -1,3 +1,5 @@
+import os
+
 from test_support import TESTFN
 from UserList import UserList
 
@@ -43,3 +45,5 @@ except TypeError:
 else:
     print "writelines accepted sequence of non-string objects"
 f.close()
+
+os.unlink(TESTFN)
-- 
2.18.1