python3Packages.dm-sonnet: only collect tests under sonnet/
This commit is contained in:
@@ -67,6 +67,12 @@ buildPythonPackage rec {
|
||||
export TF_USE_LEGACY_KERAS=True
|
||||
'';
|
||||
|
||||
enabledTestPaths = [
|
||||
# Prevent collecting docs/ext/link_tf_api_test.py which fails with:
|
||||
# ModuleNotFoundError: No module named 'docs.ext'
|
||||
"sonnet"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# AssertionError: 2 != 0 : 2 doctests failed
|
||||
"test_doctest_sonnet.functional"
|
||||
|
||||
Reference in New Issue
Block a user