We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1450bd commit 2db874aCopy full SHA for 2db874a
1 file changed
tests/testcommon.py
@@ -200,7 +200,7 @@ def stop(self):
200
201
print(outtxt)
202
203
- print('vs')
+ print('vs expected')
204
205
for chkval in self.p.chkvals:
206
print(chkval)
@@ -213,4 +213,10 @@ def stop(self):
213
for lidx, linevals in enumerate(self.p.chkvals):
214
for i, chkpt in enumerate(chkpts):
215
chkval = '%f' % self.ind.lines[lidx][chkpt]
216
- assert chkval == linevals[i]
+ if not isinstance(linevals[i], tuple):
217
+ assert chkval == linevals[i]
218
+ else:
219
+ try:
220
+ assert chkval == linevals[i][0]
221
+ except AssertionError:
222
+ assert chkval == linevals[i][1]
0 commit comments