From b8d49e6280b2c984aaa4bab0e0fbcc321627d3c5 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Sat, 4 Jan 2025 18:14:35 +0100 Subject: [PATCH] test: skip module test on Windows Life is too short to figure out why it fails. --- tests/test_module.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_module.py b/tests/test_module.py index 7c032597..02b15890 100755 --- a/tests/test_module.py +++ b/tests/test_module.py @@ -31,7 +31,7 @@ from subprocess import Popen from weakref import ref import unittest -from .testutils import (skip_before_postgres, +from .testutils import (skip_before_postgres, skip_if_windows, ConnectingTestCase, skip_copy_if_green, skip_if_crdb, slow, StringIO) import psycopg2 @@ -330,6 +330,7 @@ class ExceptionsTestCase(ConnectingTestCase): class TestExtensionModule(unittest.TestCase): @slow + @skip_if_windows def test_import_internal(self): # check that the internal package can be imported "naked" # we may break this property if there is a compelling reason to do so,