Skip to content

3.6 tests failing due to remove_mention_text #747

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 2 commits into from
Feb 21, 2020
Merged

Conversation

tracyboehrer
Copy link
Member

Fixes #743

The 3.6 re.escape() doesn't work the same as in 3.7. and 3.8, which was causing remove_mention_text to fail.

Copied the 3.8 re.escape() function into botbuilder.

Also, the remove_mention_text assertions weren't correct. They would never raise a failure.

@tracyboehrer tracyboehrer requested a review from axelsrz February 18, 2020 16:03
@tracyboehrer tracyboehrer added the R8 Release 8 - March 16th, 2020 label Feb 18, 2020
@tracyboehrer tracyboehrer merged commit 44af3b8 into master Feb 21, 2020
@tracyboehrer tracyboehrer deleted the pytest_36 branch February 21, 2020 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R8 Release 8 - March 16th, 2020
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test_inspection_middleware fails on Python 3.6.8
2 participants