From b7de132d31e94832757ccf4770d5a7685e54c8e3 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Sat, 11 Sep 2021 17:48:47 +0100 Subject: [PATCH] Compare boolean with is instead of equality --- tests/test_cookiecutter_generation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_cookiecutter_generation.py b/tests/test_cookiecutter_generation.py index f62d4bc9..295e9c5f 100755 --- a/tests/test_cookiecutter_generation.py +++ b/tests/test_cookiecutter_generation.py @@ -298,4 +298,4 @@ def test_pycharm_docs_removed(cookies, context, use_pycharm, pycharm_docs_exist) with open(f"{result.project}/docs/index.rst", "r") as f: has_pycharm_docs = "pycharm/configuration" in f.read() - assert has_pycharm_docs == pycharm_docs_exist + assert has_pycharm_docs is pycharm_docs_exist