python312Packages.flax: ignore DeprecationWarning test failures
This commit is contained in:
@@ -83,6 +83,13 @@ buildPythonPackage rec {
|
||||
tensorflow
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"-W"
|
||||
# DeprecationWarning: Triggering of __jax_array__() during abstractification is deprecated.
|
||||
# To avoid this error, either explicitly convert your object using jax.numpy.array(), or register your object as a pytree.
|
||||
"ignore::DeprecationWarning"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Docs test, needs extra deps + we're not interested in it.
|
||||
"docs/_ext/codediff_test.py"
|
||||
|
||||
Reference in New Issue
Block a user