Skip to content

Commit 3cdbfdd

Browse files
committed
Merge remote-tracking branch 'github/merge-tests' into merge-tests
2 parents a990af5 + fe6b436 commit 3cdbfdd

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

tests/expected_records.db

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ record(waveform, "TS-DI-TEST-01:LONGSTRING")
5757
field(FTVL, "UCHAR")
5858
field(INP, "@TS-DI-TEST-01:LONGSTRING")
5959
field(NELM, "256")
60+
field(PINI, "YES")
6061
field(SCAN, "I/O Intr")
6162
}
6263

@@ -97,6 +98,7 @@ record(waveform, "TS-DI-TEST-01:SIN")
9798
field(FTVL, "DOUBLE")
9899
field(INP, "@TS-DI-TEST-01:SIN")
99100
field(NELM, "1024")
101+
field(PINI, "YES")
100102
field(SCAN, "I/O Intr")
101103
}
102104

@@ -145,9 +147,10 @@ record(waveform, "TS-DI-TEST-01:WAVEFORM2")
145147
{
146148
field(DISP, "1")
147149
field(DTYP, "Python")
148-
field(FTVL, "FLOAT")
150+
field(FTVL, "DOUBLE")
149151
field(INP, "@TS-DI-TEST-01:WAVEFORM2")
150152
field(NELM, "10")
153+
field(PINI, "YES")
151154
field(SCAN, "I/O Intr")
152155
}
153156

tests/test_records.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def record_values_names(fixture_value):
166166
builder.WaveformIn,
167167
b"HELLO\0WORLD",
168168
numpy.array(
169-
[72, 69, 76, 76, 79, 0, 87, 79, 82, 76, 68, 0], dtype=numpy.uint8
169+
[72, 69, 76, 76, 79, 0, 87, 79, 82, 76, 68], dtype=numpy.uint8
170170
),
171171
numpy.ndarray,
172172
),
@@ -175,7 +175,7 @@ def record_values_names(fixture_value):
175175
builder.WaveformOut,
176176
b"HELLO\0WORLD",
177177
numpy.array(
178-
[72, 69, 76, 76, 79, 0, 87, 79, 82, 76, 68, 0], dtype=numpy.uint8
178+
[72, 69, 76, 76, 79, 0, 87, 79, 82, 76, 68], dtype=numpy.uint8
179179
),
180180
numpy.ndarray,
181181
),

0 commit comments

Comments
 (0)