mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
Issue #22390: Remove files created by tests
This commit is contained in:
parent
8f437aac06
commit
047b7ae566
7 changed files with 10 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue