We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
test_get_leaf_tensors_empty_roots
1 parent 0b85205 commit 7252056Copy full SHA for 7252056
1 file changed
tests/unit/autojac/test_utils.py
@@ -129,7 +129,7 @@ def test_get_leaf_tensors_empty_roots():
129
"""Tests that _get_leaf_tensors returns no leaves when roots is the empty set."""
130
131
leaves = _get_leaf_tensors(tensors=[], excluded=set())
132
- assert set(leaves) == set({})
+ assert set(leaves) == set()
133
134
135
def test_get_leaf_tensors_excluded_root():
0 commit comments