From c65c78c4eb9aad913a8b0a5effbca5bde940d141 Mon Sep 17 00:00:00 2001 From: Aaron Lichtman Date: Sat, 9 Nov 2019 05:52:00 +0100 Subject: [PATCH] Fix assertion syntax warning --- features/steps/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/steps/core.py b/features/steps/core.py index a6e3c9fa..d8f00bc5 100644 --- a/features/steps/core.py +++ b/features/steps/core.py @@ -118,7 +118,7 @@ def has_error(context): @then('we should get no error') def no_error(context): - assert context.exit_status is 0, context.exit_status + assert context.exit_status == 0, context.exit_status @then('the output should be parsable as json')