From f81b6c95f2a435c58ff4d3d194868ee47ddf04c1 Mon Sep 17 00:00:00 2001 From: Lysandre Date: Wed, 15 Jan 2020 09:21:38 -0500 Subject: [PATCH] Flake8 violation --- tests/test_examples.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_examples.py b/tests/test_examples.py index f61e85f73a..d6698a3771 100644 --- a/tests/test_examples.py +++ b/tests/test_examples.py @@ -41,7 +41,7 @@ def get_examples_from_file(file): example = [] else: # If line is not empty, add it to the current example - if line is not "\n": + if line != "\n": example.append(line[example_indentation + 4 : -1]) # Detect the example from '::' or 'example::'