diff --git a/tests/test_location.py b/tests/test_location.py index 08d9d7c8..36abeeab 100644 --- a/tests/test_location.py +++ b/tests/test_location.py @@ -57,4 +57,4 @@ def test_location_class( ) assert location_obj.country_code == country_code - assert not location_obj.serialize() == None + assert location_obj.serialize() is not None