Skip to content

Commit b4fb93f

Browse files
committed
Use exact symbol names for assertion message
1 parent 0134c07 commit b4fb93f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nidcpower/examples/nidcpower_constant_resistance_and_constant_power.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def example(
1919
):
2020
assert output_function in (
2121
nidcpower.OutputFunction.CONSTANT_RESISTANCE, nidcpower.OutputFunction.CONSTANT_POWER
22-
), 'This example only supports constant resistance and constant power output functions.'
22+
), 'This example only supports CONSTANT_RESISTANCE and CONSTANT_POWER output functions.'
2323

2424
with nidcpower.Session(resource_name=resource_name, options=options) as session:
2525
# Configure the session.

0 commit comments

Comments
 (0)