From 714c30e429dab8083b9e5317209e44619d875d22 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Mon, 7 Dec 2020 13:49:26 +0100 Subject: Test compatibility with python < 3.8 --- tests/test_derivatives.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/test_derivatives.py') diff --git a/tests/test_derivatives.py b/tests/test_derivatives.py index f79123c..0218f3d 100644 --- a/tests/test_derivatives.py +++ b/tests/test_derivatives.py @@ -4,6 +4,7 @@ import unittest import lesana from lesana import types +from . import utils class DerivedType(types.LesanaString): @@ -22,7 +23,7 @@ class Derivative(lesana.Collection): class testDerivatives(unittest.TestCase): def setUp(self): self.tmpdir = tempfile.mkdtemp() - shutil.copytree( + utils.copytree( 'tests/data/derivative', self.tmpdir, dirs_exist_ok=True -- cgit v1.2.3