From 68a23eab06fa1273ded692dd3ac6694e085fc7c1 Mon Sep 17 00:00:00 2001 From: aparnajyothi-y <147696841+aparnajyothi-y@users.noreply.github.com> Date: Wed, 3 Jul 2024 11:15:51 +0530 Subject: [PATCH] Update python-modules.py --- tests/sources/python-modules.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/tests/sources/python-modules.py b/tests/sources/python-modules.py index bfd3341..434160b 100644 --- a/tests/sources/python-modules.py +++ b/tests/sources/python-modules.py @@ -309,14 +309,7 @@ def check_missing_modules(expected_modules): importlib.import_module(module) except: missing.append(module) - return missing - -import platform - -# Exclude tkinter, curses, and curses_panel for Python 3.8 and above on macOS 13 -if sys.version_info >= (3, 8) and platform.system() == 'Darwin' and platform.release() == '13.6.7': - excluded_modules.extend(['_tkinter', '_curses', '_curses_panel']) - + return missing if missing_modules: print('The following modules are missing:') for module in missing_modules: