Skip to content

Commit 3b0d81f

Browse files
authored
Update singly_linked_list.py
1 parent 5d1b795 commit 3b0d81f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

data_structures/linked_list/singly_linked_list.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
from collections.abc import Iterator
44
from dataclasses import dataclass
5+
from doctest import testmod
56
from typing import Any
67

78

@@ -492,7 +493,7 @@ def test_singly_linked_list_2() -> None:
492493

493494

494495
def main():
495-
from doctest import testmod
496+
496497

497498
testmod()
498499

0 commit comments

Comments
 (0)