μHAL (v2.8.17)
Part of the IPbus software repository
Toggle main menu visibility
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
w
x
Variables
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
z
Typedefs
Enumerations
Enumerator
b
c
d
e
f
h
i
m
n
r
s
u
v
w
x
y
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Typedefs
_
a
b
c
d
f
h
i
k
m
o
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
f
n
t
v
Related Functions
c
d
g
h
i
l
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
Typedefs
a
b
c
d
e
f
h
i
l
m
n
o
r
s
t
v
w
x
Enumerations
Enumerator
a
c
e
i
l
n
o
p
x
y
Macros
a
b
c
d
e
g
m
n
p
s
t
u
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
python
pybind11
tests
test_const_name.py
Go to the documentation of this file.
1
import
pytest
2
3
from
pybind11_tests
import
const_name
as
m
4
5
6
@pytest.mark.parametrize("func", (m.const_name_tests, m.underscore_tests)
)
7
@pytest.mark.parametrize
(
8
"selector, expected"
,
9
enumerate(
10
(
11
""
,
12
"A"
,
13
"Bd"
,
14
"Cef"
,
15
"%"
,
16
"%"
,
17
"T1"
,
18
"U2"
,
19
"D1"
,
20
"E2"
,
21
"KeepAtEnd"
,
22
)
23
),
24
)
25
def
test_const_name
(func, selector, expected):
26
if
isinstance
(func, str):
27
pytest.skip(func)
28
text = func(selector)
29
assert
text == expected
isinstance
bool isinstance(handle obj)
\rst Return true if obj is an instance of T.
Definition:
pytypes.h:489
test_const_name
Definition:
test_const_name.py:1
Generated on Sat Mar 15 2025 17:14:09 for μHAL (v2.8.17) by
1.9.5