Skip to content
Snippets Groups Projects
Commit 967bc165 authored by Matt Wala's avatar Matt Wala
Browse files

Test equality

parent 79601ade
No related branches found
No related tags found
Loading
Checking pipeline status
......@@ -301,6 +301,11 @@ def test_Optional(): # noqa
assert opt.has_value
assert 1 == opt.value
assert Optional(1) == Optional(1)
assert Optional(1) != Optional(2)
assert Optional() == Optional()
assert Optional() != Optional(1)
# }}}
# {{{ test pickling
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment