Fix tests and bump dependencies

This commit is contained in:
Alex Root Junior 2020-09-13 23:25:27 +03:00
parent 369bff422a
commit 703dd7fabd
2 changed files with 3 additions and 3 deletions

View file

@ -66,7 +66,7 @@ setup(
], ],
extras_require={ extras_require={
'proxy': [ 'proxy': [
'aiohttp-socks>=0.3.4,<0.4.0', 'aiohttp-socks>=0.5.3,<0.6.0',
], ],
'fast': [ 'fast': [
'uvloop>=0.14.0,<0.15.0', 'uvloop>=0.14.0,<0.15.0',

View file

@ -10,7 +10,7 @@ class TestTextDecorations:
MessageEntity(offset=3, length=34, type=MessageEntityType.BOLD), MessageEntity(offset=3, length=34, type=MessageEntityType.BOLD),
MessageEntity(offset=12, length=10, type=MessageEntityType.ITALIC), 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): def test_unparse_entities_emoji_text(self):
""" """
@ -22,4 +22,4 @@ class TestTextDecorations:
MessageEntity(offset=3, length=34, type=MessageEntityType.BOLD), MessageEntity(offset=3, length=34, type=MessageEntityType.BOLD),
MessageEntity(offset=12, length=10, type=MessageEntityType.ITALIC), 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*"