From 703dd7fabdf1dd2072ebbd311437dc5615b83cd2 Mon Sep 17 00:00:00 2001 From: Alex Root Junior Date: Sun, 13 Sep 2020 23:25:27 +0300 Subject: [PATCH] Fix tests and bump dependencies --- setup.py | 2 +- tests/test_utils/test_text_decorations.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index b21b4e57..00f617ee 100755 --- a/setup.py +++ b/setup.py @@ -66,7 +66,7 @@ setup( ], extras_require={ 'proxy': [ - 'aiohttp-socks>=0.3.4,<0.4.0', + 'aiohttp-socks>=0.5.3,<0.6.0', ], 'fast': [ 'uvloop>=0.14.0,<0.15.0', diff --git a/tests/test_utils/test_text_decorations.py b/tests/test_utils/test_text_decorations.py index dd0e595d..cc724dd7 100644 --- a/tests/test_utils/test_text_decorations.py +++ b/tests/test_utils/test_text_decorations.py @@ -10,7 +10,7 @@ class TestTextDecorations: MessageEntity(offset=3, length=34, type=MessageEntityType.BOLD), MessageEntity(offset=12, length=10, type=MessageEntityType.ITALIC), ] - ) == "hi *i'm bold _and italic_\r and still bold*" + ) == "hi *i'm bold _\rand italic_\r and still bold*" def test_unparse_entities_emoji_text(self): """ @@ -22,4 +22,4 @@ class TestTextDecorations: MessageEntity(offset=3, length=34, type=MessageEntityType.BOLD), MessageEntity(offset=12, length=10, type=MessageEntityType.ITALIC), ] - ) == "🚀 *i'm bold _and italic_\r and still bold*" + ) == "🚀 *i'm bold _\rand italic_\r and still bold*"