Skip to content

Commit

Permalink
fix: rm deprecated import
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Apr 23, 2024
1 parent b6b777a commit 810debd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/functional/conftest.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import threading
import time
from contextlib import contextmanager
from distutils.dir_util import copy_tree
from pathlib import Path
from shutil import copytree
from typing import Optional, cast

import pytest
Expand Down Expand Up @@ -307,7 +307,7 @@ def ds_note_test_contract(eth_tester_provider, vyper_contract_type, owner, get_c
@pytest.fixture
def project_with_contract(temp_config):
with temp_config() as project:
copy_tree(str(APE_PROJECT_FOLDER), str(project.path))
copytree(str(APE_PROJECT_FOLDER), str(project.path))
project.local_project._cached_manifest = None # Clean manifest
yield project

Expand All @@ -318,8 +318,8 @@ def project_with_source_files_contract(temp_config):
project_source_dir = APE_PROJECT_FOLDER

with temp_config() as project:
copy_tree(str(project_source_dir), str(project.path))
copy_tree(str(bases_source_dir), f"{project.path}/contracts/")
copytree(str(project_source_dir), str(project.path))
copytree(str(bases_source_dir), f"{project.path}/contracts/")
yield project


Expand Down

0 comments on commit 810debd

Please sign in to comment.