aboutsummaryrefslogtreecommitdiff
path: root/tests/test_derivatives.py
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2020-12-07 13:49:26 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2020-12-07 13:49:26 +0100
commit714c30e429dab8083b9e5317209e44619d875d22 (patch)
treee6b4a7a4474320fff1f63388a96407a596cfff79 /tests/test_derivatives.py
parentd051e35086de44166fae87ed5edef32083d7e426 (diff)
Test compatibility with python < 3.8
Diffstat (limited to 'tests/test_derivatives.py')
-rw-r--r--tests/test_derivatives.py3
1 files changed, 2 insertions, 1 deletions
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