From 54ffa75f8220db852f1aa928ec11f17422d8f4f2 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Sat, 4 Nov 2023 12:06:16 +0300 Subject: [PATCH] gh-111724: Fix doctest `ResourceWarning` in `howto/descriptor.rst` --- Doc/howto/descriptor.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/howto/descriptor.rst b/Doc/howto/descriptor.rst index 024c1eb3e3b200..90d67d84d0ef08 100644 --- a/Doc/howto/descriptor.rst +++ b/Doc/howto/descriptor.rst @@ -943,6 +943,10 @@ it can be updated: >>> Movie('Star Wars').director 'J.J. Abrams' +.. testcleanup:: + + conn.close() + Pure Python Equivalents ^^^^^^^^^^^^^^^^^^^^^^^