Sign in
◑
Theme
pigweed
/
third_party
/
github
/
pybind
/
pybind11
/
8cb05a1f6a16a3d1c8bb6bb993f9030aeb2a644a
/
.
/
tests
/
test_union.py
blob: a9de6baf18ea10bfc90fd30f71cf0f4c7b9bb483 [
file
]
from
__future__
import
annotations
from
pybind11_tests
import
union_
as
m
def
test_union
():
instance
=
m
.
TestUnion
()
instance
.
as_uint
=
10
assert
instance
.
as_int
==
10