Fix tests

This commit is contained in:
Alex Root Junior 2020-11-08 17:57:02 +02:00
parent 9a27b79d40
commit b170bbc5f6
2 changed files with 3 additions and 3 deletions

View file

@ -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*"

View file

@ -1,5 +1,5 @@
[tox]
envlist = py37
envlist = py38
[testenv]
deps = -rdev_requirements.txt