Unverified Commit 423a1b0e authored by Tobias Fischer's avatar Tobias Fischer Committed by GitHub
Browse files

Remove deprecated distutils usage for Python 3.12 (#8280)


Co-authored-by: default avatarvfdev <vfdev.5@gmail.com>
parent fd9b61d5
import contextlib
import itertools
import shutil
import tempfile
import time
import traceback
import unittest.mock
import warnings
from datetime import datetime
from distutils import dir_util
from os import path
from urllib.error import HTTPError, URLError
from urllib.parse import urlparse
......@@ -180,7 +180,7 @@ ROOT = tempfile.mkdtemp()
@pytest.fixture(scope="module", autouse=True)
def root():
yield ROOT
dir_util.remove_tree(ROOT)
shutil.rmtree(ROOT)
def places365():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment