diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2020-12-07 13:49:26 +0100 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2020-12-07 13:49:26 +0100 |
commit | 714c30e429dab8083b9e5317209e44619d875d22 (patch) | |
tree | e6b4a7a4474320fff1f63388a96407a596cfff79 /tests/test_derivatives.py | |
parent | d051e35086de44166fae87ed5edef32083d7e426 (diff) |
Test compatibility with python < 3.8
Diffstat (limited to 'tests/test_derivatives.py')
-rw-r--r-- | tests/test_derivatives.py | 3 |
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 |