Skip to content

Commit

Permalink
Merge pull request #69 from vanderhe/getRidOfDistutils
Browse files Browse the repository at this point in the history
Substitute distutils in regression testing infrastructure
  • Loading branch information
vanderhe authored Oct 30, 2023
2 parents 3349344 + c318a74 commit 41eb3fe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/prog/sktable/bin/testwithworkdir
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import sys
import shutil
import subprocess
import argparse
from distutils.dir_util import copy_tree
from argparse import RawTextHelpFormatter

sys.path.append(os.path.abspath('../../../../sktools/src/'))
Expand Down Expand Up @@ -43,8 +42,8 @@ def main(cmdlineargs=None):

args = parse_cmdline_args(cmdlineargs)

copy_tree(os.path.join(args.templateroot, args.test),
os.path.join(args.workdir, args.test))
shutil.copytree(os.path.join(args.templateroot, args.test),
os.path.join(args.workdir, args.test), dirs_exist_ok=True)

cwd = os.path.join(args.workdir, args.test)

Expand Down

0 comments on commit 41eb3fe

Please sign in to comment.