From 047b7ae56628717160eb75e379e2bfdaa59dfc18 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sun, 5 Oct 2014 17:37:41 +0200 Subject: Issue #22390: Remove files created by tests --- Lib/test/test_source_encoding.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Lib/test/test_source_encoding.py') diff --git a/Lib/test/test_source_encoding.py b/Lib/test/test_source_encoding.py index 0c41e50662..39a7c56019 100644 --- a/Lib/test/test_source_encoding.py +++ b/Lib/test/test_source_encoding.py @@ -1,7 +1,7 @@ # -*- coding: koi8-r -*- import unittest -from test.support import TESTFN, unlink, unload +from test.support import TESTFN, unlink, unload, rmtree import importlib import os import sys @@ -129,6 +129,7 @@ class SourceEncodingTest(unittest.TestCase): unlink(filename + "c") unlink(filename + "o") unload(TESTFN) + rmtree('__pycache__') def test_error_from_string(self): # See http://bugs.python.org/issue6289 -- cgit v1.2.1