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 7afd600 commit ec011d4Copy full SHA for ec011d4
testing/test_capture.py
@@ -3,10 +3,10 @@
3
4
from collections.abc import Generator
5
import contextlib
6
-import re
7
import io
8
from io import UnsupportedOperation
9
import os
+import re
10
import subprocess
11
import sys
12
import textwrap
@@ -1685,6 +1685,7 @@ def pytest_terminal_summary(config):
1685
capture.resume_global_capture()
1686
""")
1687
import readline
1688
+
1689
backend = getattr(readline, "backend", readline.__doc__) # added in Python 3.13
1690
print(f"Readline backend: {backend}")
1691
0 commit comments