[issue29693] DeprecationWarning/SyntaxError in test_import

2017-03-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 15aa4c88f6052af6279e6be3fcd2f968f1c53eae by Serhiy Storchaka (Anish Shah) in branch 'master': bpo-29693: Fix for DeprecationWarning in test_import (#421) https://github.com/python/cpython/commit/15aa4c88f6052af6279e6be3fcd2f968f1c53eae ---

[issue29693] DeprecationWarning/SyntaxError in test_import

2017-03-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Anish. DeprecationWarning is converted to SyntaxError when run Python with -We. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue29693] DeprecationWarning/SyntaxError in test_import

2017-03-02 Thread Anish Shah
Changes by Anish Shah : -- pull_requests: +350 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue29693] DeprecationWarning/SyntaxError in test_import

2017-03-02 Thread Anish Shah
Anish Shah added the comment: I'm not able to reproduce the SyntaxError on latest commit 902e9c50e31209e796b6bbe26f8d2f57ec12071b on master branch. -- ___ Python tracker ___ ___

[issue29693] DeprecationWarning/SyntaxError in test_import

2017-03-02 Thread Anish Shah
Anish Shah added the comment: I will try to work on this! :) -- nosy: +anish.shah ___ Python tracker ___ ___ Python-bugs-list mailing

[issue29693] DeprecationWarning/SyntaxError in test_import

2017-03-02 Thread Matthias Bussonnier
Changes by Matthias Bussonnier : -- nosy: +mbussonn ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue29693] DeprecationWarning/SyntaxError in test_import

2017-03-02 Thread Brett Cannon
Brett Cannon added the comment: Looks like the 'r' prefix is missing on the regex string. Marking this as "easy" if someone wants to try and solve this. And FYI I double-checked that this is only in 3.7. -- keywords: +easy ___ Python tracker

[issue29693] DeprecationWarning/SyntaxError in test_import

2017-03-02 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: $ ./python -Wa -m test.regrtest test_import Run tests sequentially 0:00:00 [1/1] test_import /home/serhiy/py/cpython/Lib/test/test_import/__init__.py:88: DeprecationWarning: invalid escape sequence \( self.assertRegex(str(cm.exception), "cannot import name