diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-08-20 12:25:38 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-08-20 12:25:38 +0300 |
commit | b4aa3ed8a3ce591fe7518af1f07de9c63d85428b (patch) | |
tree | 56d9ab80a611f1cc68cb7c8244054cba8d474481 /runcmd.py | |
parent | 69d90b0b5ae8e25d084ea88b150dab040f835436 (diff) | |
download | subplot-b4aa3ed8a3ce591fe7518af1f07de9c63d85428b.tar.gz |
fix: drop duplicate and wrong definition of exit_code_is_not
Diffstat (limited to 'runcmd.py')
-rw-r--r-- | runcmd.py | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -22,13 +22,6 @@ def exit_code_is(ctx, wanted): # Check that latest exit code captured by runcmd was not a specific one. def exit_code_is_not(ctx, unwanted): - if ctx.get("exit") == wanted: - print("context:", ctx.as_dict()) - assert_ne(ctx.get("exit"), wanted) - - -# Check that latest exit code captured by runcmd was not a specific one. -def exit_code_is_not(ctx, unwanted): if ctx.get("exit") == unwanted: print("context:", ctx.as_dict()) assert_ne(ctx.get("exit"), unwanted) |