mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2024-11-22 02:55:03 +00:00
2533141583
This reverts commits9d077c9ba5
andb4938f5198
. They cause a crash-on-startup on Mac ARM machines, failing to get the locale encoding (nl_langinfo(CODESET) failed).
10 lines
172 B
Python
10 lines
172 B
Python
# -*- coding: utf-8 -*-
|
|
from pybind11_tests import union_ as m
|
|
|
|
|
|
def test_union():
|
|
instance = m.TestUnion()
|
|
|
|
instance.as_uint = 10
|
|
assert instance.as_int == 10
|