Skip to content

Commit

Permalink
test_set_anynode_with_primitive_type str+bytes cases (#919)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasha10 committed May 9, 2022
1 parent 08b5681 commit adeb85c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ def test_eq(node: ValueNode, value: Any, expected: Any) -> None:
assert (node.__hash__() == value.__hash__()) == expected


@mark.parametrize("value", [1, 3.14, True, None, Enum1.FOO])
@mark.parametrize("value", ["a_str", 1, 3.14, True, None, Enum1.FOO, b"binary"])
def test_set_anynode_with_primitive_type(value: Any) -> None:
cfg = OmegaConf.create({"a": 5})
a_before = cfg._get_node("a")
Expand Down

0 comments on commit adeb85c

Please sign in to comment.