python312Packages.flask-sqlalchemy: ignore deprecation warning
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
, mock
|
||||
, flit-core
|
||||
, pytestCheckHook
|
||||
, pythonAtLeast
|
||||
, pythonOlder
|
||||
, sqlalchemy
|
||||
}:
|
||||
@@ -43,6 +44,11 @@ buildPythonPackage rec {
|
||||
"test_persist_selectable"
|
||||
];
|
||||
|
||||
pytestFlagsArray = lib.optionals (pythonAtLeast "3.12") [
|
||||
# datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version.
|
||||
"-W" "ignore::DeprecationWarning"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"flask_sqlalchemy"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user