diff options
Diffstat (limited to '_pytest/conftest.py')
-rw-r--r-- | _pytest/conftest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_pytest/conftest.py b/_pytest/conftest.py index 07e3639..2dffd4f 100644 --- a/_pytest/conftest.py +++ b/_pytest/conftest.py @@ -105,7 +105,7 @@ class FakeWeechat: def prnt(*args): output = "(" for arg in args: - if arg != None: + if arg is not None: output += "{}, ".format(arg) print("w.prnt {}".format(output)) |