diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2024-02-25 20:16:51 +0100 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2024-02-25 20:16:51 +0100 |
commit | 2f4a229b7af6cbb4955ad57ed4769eab3f17bedc (patch) | |
tree | 0665db87db6c620ab54f88dc85aa181aa1aa18f5 /tests/test_derivatives.py | |
parent | 70ed1dcf05aa9cd7e3c03afd47625dc8a75ab556 (diff) |
Remove compatibility helper for python < 3.8
Diffstat (limited to 'tests/test_derivatives.py')
-rw-r--r-- | tests/test_derivatives.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_derivatives.py b/tests/test_derivatives.py index ba9d79c..a97a80f 100644 --- a/tests/test_derivatives.py +++ b/tests/test_derivatives.py @@ -1,11 +1,10 @@ +import shutil import tempfile import unittest import lesana from lesana import types -from . import utils - class DerivedType(types.LesanaString): """ @@ -23,7 +22,7 @@ class Derivative(lesana.Collection): class testDerivatives(unittest.TestCase): def setUp(self): self.tmpdir = tempfile.TemporaryDirectory() - utils.copytree( + shutil.copytree( 'tests/data/derivative', self.tmpdir.name, dirs_exist_ok=True |