Skip to content

Commit

Permalink
Remove dependency on distutil
Browse files Browse the repository at this point in the history
  • Loading branch information
xylar committed May 16, 2024
1 parent ac3f37a commit 51a71f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geometric_features/test/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from contextlib import contextmanager

import os
from distutils import dir_util
import shutil
from pytest import fixture

try:
Expand Down Expand Up @@ -51,7 +51,7 @@ def loaddatadir(request, tmpdir):
test_dir, _ = os.path.splitext(filename)

if os.path.isdir(test_dir):
dir_util.copy_tree(test_dir, bytes(tmpdir))
shutil.copy_tree(test_dir, str(tmpdir))

request.cls.datadir = tmpdir

Expand Down

0 comments on commit 51a71f5

Please sign in to comment.