diff --git a/tests/test_persistence.py b/tests/test_persistence.py index 89484cb90..ffda4a6bf 100644 --- a/tests/test_persistence.py +++ b/tests/test_persistence.py @@ -977,7 +977,7 @@ class TestDictPersistence(object): assert dict_persistence.bot_data == bot_data assert dict_persistence.conversations == conversations - @pytest.mark.skipif(sys.version_info == (3, 5), reason="dicts are not ordered in py<=3.5") + @pytest.mark.skipif(sys.version_info < (3, 6), reason="dicts are not ordered in py<=3.5") def test_json_outputs(self, user_data_json, chat_data_json, bot_data_json, conversations_json): dict_persistence = DictPersistence(user_data_json=user_data_json, chat_data_json=chat_data_json, @@ -988,7 +988,7 @@ class TestDictPersistence(object): assert dict_persistence.bot_data_json == bot_data_json assert dict_persistence.conversations_json == conversations_json - @pytest.mark.skipif(sys.version_info == (3, 5), reason="dicts are not ordered in py<=3.5") + @pytest.mark.skipif(sys.version_info < (3, 6), reason="dicts are not ordered in py<=3.5") def test_json_changes(self, user_data, user_data_json, chat_data, chat_data_json, bot_data, bot_data_json, conversations, conversations_json):