Skip to content

Commit

Permalink
Remove deprecated distutils usage for Python 3.12 (#8280)
Browse files Browse the repository at this point in the history
Co-authored-by: vfdev <[email protected]>
  • Loading branch information
Tobias-Fischer and vfdev-5 authored Mar 6, 2024
1 parent fd9b61d commit 423a1b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_datasets_download.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
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
Expand Down Expand Up @@ -180,7 +180,7 @@ def collect_urls(dataset_cls, *args, **kwargs):
@pytest.fixture(scope="module", autouse=True)
def root():
yield ROOT
dir_util.remove_tree(ROOT)
shutil.rmtree(ROOT)


def places365():
Expand Down

0 comments on commit 423a1b0

Please sign in to comment.