python3Packages.psycopg2cffi: disable test_notify on python 3.13+ (#521591)
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
postgresql,
|
||||
postgresqlTestHook,
|
||||
pytestCheckHook,
|
||||
pythonAtLeast,
|
||||
setuptools,
|
||||
six,
|
||||
stdenv,
|
||||
@@ -56,6 +57,11 @@ buildPythonPackage rec {
|
||||
"testEmptyArray"
|
||||
];
|
||||
|
||||
disabledTestPaths = lib.optionals (pythonAtLeast "3.13") [
|
||||
# testutils.script_to_py3 imports lib2to3, removed in 3.13
|
||||
"psycopg2cffi/tests/psycopg2_tests/test_notify.py"
|
||||
];
|
||||
|
||||
env = {
|
||||
PGDATABASE = "psycopg2_test";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user