deps module utils: unit tests + minor improvement (#9179)

* deps module utils: unit tests + minor improvement

* deps.clear() calls dict.clear() instead of creating new dict

* add changelog frag
This commit is contained in:
Alexei Znamensky
2024-11-25 10:09:53 +13:00
committed by GitHub
parent 152339a8f9
commit a3bd49c010
5 changed files with 81 additions and 1 deletions

View File

@@ -96,3 +96,7 @@ def validate(module, spec=None):
def failed(spec=None):
return any(_deps[d].failed for d in _select_names(spec))
def clear():
_deps.clear()