We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99ea24e commit be02fd5Copy full SHA for be02fd5
data_structures/binary_tree/red_black_tree.py
@@ -1,6 +1,7 @@
1
from __future__ import annotations
2
3
from collections.abc import Iterator
4
+import doctest
5
from pprint import pformat
6
7
@@ -837,7 +838,7 @@ def main() -> None:
837
838
"""
839
>>> pytests()
840
- import doctest
841
+
842
843
failures, _ = doctest.testmod()
844
if failures == 0:
0 commit comments