summaryrefslogtreecommitdiff
path: root/tests/test_derivatives.py
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2024-02-25 20:16:51 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2024-02-25 20:16:51 +0100
commit2f4a229b7af6cbb4955ad57ed4769eab3f17bedc (patch)
tree0665db87db6c620ab54f88dc85aa181aa1aa18f5 /tests/test_derivatives.py
parent70ed1dcf05aa9cd7e3c03afd47625dc8a75ab556 (diff)
Remove compatibility helper for python < 3.8
Diffstat (limited to 'tests/test_derivatives.py')
-rw-r--r--tests/test_derivatives.py5
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