From 16dd28d1692e097a819d9d4bdf6f80c9744b460a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 11 Mar 2023 23:29:36 +0100 Subject: Add Python 3.8+ `asyncSetUp` to "defining-attr-methods" list (#8403) (#8438) (cherry picked from commit b312b9a66472e17d02461258d2156d670481a7f6) Co-authored-by: Samuel FORESTIER --- doc/whatsnew/fragments/8403.false_positive | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 doc/whatsnew/fragments/8403.false_positive (limited to 'doc/whatsnew') diff --git a/doc/whatsnew/fragments/8403.false_positive b/doc/whatsnew/fragments/8403.false_positive new file mode 100644 index 000000000..bfa34d17d --- /dev/null +++ b/doc/whatsnew/fragments/8403.false_positive @@ -0,0 +1,5 @@ +Adds ``asyncSetUp`` to the default ``defining-attr-methods`` list to silence +``attribute-defined-outside-init`` warning when using +``unittest.IsolatedAsyncioTestCase``. + +Refs #8403 -- cgit v1.2.1