Commit e879cfa
authored
Tests fixes (JessicaTegner#328)
* tests: fix invocation with sys.executable
The formatting to substitute sys.executable was not effective because the
formatted string was discarded. But even when when the substitution is made,
pandoc ignores the shebang line in the file when the file is not executable and
invokes it using 'python'. This second issue was hiding the first. We need to
fix both to actually execute code using the desired sys.executable. Finally,
the first .format() was interfering with the second .format().
* tests: fix indentation
* tests: show diff if comparison fails1 parent 5348c62 commit e879cfa
1 file changed
+16
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
350 | | - | |
| 350 | + | |
351 | 351 | | |
352 | 352 | | |
| 353 | + | |
353 | 354 | | |
354 | 355 | | |
355 | 356 | | |
| |||
389 | 390 | | |
390 | 391 | | |
391 | 392 | | |
392 | | - | |
| 393 | + | |
393 | 394 | | |
394 | 395 | | |
395 | 396 | | |
396 | 397 | | |
397 | 398 | | |
398 | 399 | | |
399 | | - | |
| 400 | + | |
400 | 401 | | |
401 | 402 | | |
| 403 | + | |
| 404 | + | |
402 | 405 | | |
| 406 | + | |
| 407 | + | |
403 | 408 | | |
404 | 409 | | |
405 | 410 | | |
406 | 411 | | |
407 | | - | |
| 412 | + | |
408 | 413 | | |
409 | 414 | | |
410 | 415 | | |
411 | 416 | | |
412 | 417 | | |
413 | | - | |
| 418 | + | |
414 | 419 | | |
415 | 420 | | |
416 | 421 | | |
| |||
0 commit comments