Skip to content

Commit be02fd5

Browse files
authored
Update red_black_tree.py
1 parent 99ea24e commit be02fd5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

data_structures/binary_tree/red_black_tree.py

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

33
from collections.abc import Iterator
4+
import doctest
45
from pprint import pformat
56

67

@@ -837,7 +838,7 @@ def main() -> None:
837838
"""
838839
>>> pytests()
839840
"""
840-
import doctest
841+
841842

842843
failures, _ = doctest.testmod()
843844
if failures == 0:

0 commit comments

Comments
 (0)