diff options
| author | Xusheng <xusheng@vector35.com> | 2020-10-09 14:14:01 +0800 |
|---|---|---|
| committer | Xusheng <xusheng@vector35.com> | 2020-10-09 14:14:01 +0800 |
| commit | 720777f31913ba8c80f24c3460326764a24976a8 (patch) | |
| tree | 35d6d911485f7a212d43962fa7c161451b10f234 | |
| parent | b3370836d13effb521cc35a603bcae90d1893f87 (diff) | |
fix warning
| -rw-r--r-- | suite/api_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/suite/api_test.py b/suite/api_test.py index 91b19598..51830d21 100644 --- a/suite/api_test.py +++ b/suite/api_test.py @@ -108,7 +108,7 @@ class SettingsAPI(unittest.TestCase): assert not settings.set_bool("testGroup.readOnlyBoolSetting", False, scope=SettingsScope.SettingsUserScope), "test_settings_types failed" s2 = Settings("test2") - assert s2.serialize_schema() is "", "test_settings_types failed" + assert s2.serialize_schema() == "", "test_settings_types failed" test_schema = settings.serialize_schema() assert test_schema != "", "test_settings_types failed" assert s2.deserialize_schema(test_schema), "test_settings_types failed" |
