Skip to content

Commit

Permalink
fix: compatibility with python3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Bezannier committed Nov 18, 2023
1 parent aafa50d commit 932ee6d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_create_anonymous_data_classes.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import dataclasses
import unittest
from dataclasses import dataclass
from typing import List

from autofaker import Autodata

Expand All @@ -9,8 +10,8 @@
class DataClass:
id: int
text: str
list_of_str: list[str]
list_of_int: list[int]
list_of_str: List[str]
list_of_int: List[int]


class AnonymousDataClassTestCase(unittest.TestCase):
Expand Down

0 comments on commit 932ee6d

Please sign in to comment.