From 980414f8723251027f5f0e65c7f22d9d7db701bc Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Fri, 24 Oct 2025 11:23:04 -0700 Subject: [PATCH] Update test_bot.py --- modules/test_bot.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/test_bot.py b/modules/test_bot.py index 3763052..50f586a 100644 --- a/modules/test_bot.py +++ b/modules/test_bot.py @@ -5,6 +5,10 @@ import os import sys import importlib import pkgutil +import warnings +# Suppress ResourceWarning warnings for asyncio unclosed event here +warnings.filterwarnings("ignore", category=ResourceWarning) + # Add the parent directory to sys.path to allow module imports parent_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) sys.path.append(parent_path)