Compare boolean with is instead of equality

This commit is contained in:
Bruno Alla 2021-09-11 17:48:47 +01:00 committed by GitHub
parent 6f66b330e6
commit b7de132d31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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