From 58337bd38c28172112b704c94ed7f2db58c773c4 Mon Sep 17 00:00:00 2001 From: Luigi311 Date: Mon, 10 Apr 2023 23:05:22 -0600 Subject: [PATCH] Test: Use is None --- test/test_library.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/test_library.py b/test/test_library.py index 3111f91..834ff6e 100644 --- a/test/test_library.py +++ b/test/test_library.py @@ -148,7 +148,7 @@ def test_check_skip_logic(): library_mapping, ) - assert skip_reason == None + assert skip_reason is None def test_check_blacklist_logic(): @@ -197,7 +197,7 @@ def test_check_blacklist_logic(): library_other, ) - assert skip_reason == None + assert skip_reason is None library_title = "Movies" library_type = "movies" @@ -210,7 +210,7 @@ def test_check_blacklist_logic(): library_other, ) - assert skip_reason == None + assert skip_reason is None def test_check_whitelist_logic(): @@ -259,7 +259,7 @@ def test_check_whitelist_logic(): library_other, ) - assert skip_reason == None + assert skip_reason is None library_title = "Movies" library_type = "movies" @@ -272,7 +272,7 @@ def test_check_whitelist_logic(): library_other, ) - assert skip_reason == None + assert skip_reason is None def test_show_title_dict():