| Phantom42 added a comment. |
Well, after some git bisect-ing and experimenting with code I understood, that 431e72083ac1 and d6a8ea397f6a are unrelated to this problem. I checked out some commits from december 2016 (we were not using pytest-httpbin at that point). As expected, tests were not failing. Then I changed line 174 of bot_tests.py to use assertRaisesRegex instead of assertRaises as it was done in rPWBC2c33f951d7b0. Tests began to fail again. That means that rPWBC2c33f951d7b0 is the reason for tests failing. And we didn't notice that problem until we fixed some syntax issues in d6a8ea397f6a, which prevented tests from executing.
In my opinon, something is wrong with regular _expression_ used. So I think we just need to change it to something else to fix the problem. @Magul what are your thoughts on this? Do you agree?
Cc: Phantom42, pywikibot-bugs-list, Aklapper, jayvdb, Magul, MarcAbonce, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
