Skip to content

fix 1747 for good #1752

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 6, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/test_persistence.py
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ def test_dict_outputs(self, user_data, user_data_json, chat_data, chat_data_json
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,
Expand All @@ -988,7 +988,7 @@ def test_json_outputs(self, user_data_json, chat_data_json, bot_data_json, conve
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):
Expand Down