https://ci.appveyor.com/project/Ladsgroup/pywikibot-g4xqx/build/1.0.225/job/83ny5p3qel5stcpi#L4717
====================================================================== ERROR: test_replace_tag_file (tests.textlib_tests.TestReplaceExcept) Test replacing not inside file links. ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\projects\pywikibot-g4xqx\tests\textlib_tests.py", line 1305, in test_replace_tag_file 'x', 'y', ['file'], site=self.site), File "c:\projects\pywikibot-g4xqx\pywikibot\textlib.py", line 377, in replaceExcept excMatch = dontTouchR.search(text, index) MemoryError
This has occurred after the change in 8ede851d8c0655b7eb021e69003e96215da01231 (T191113)
It's a known bug in older versions of python, resolved in https://bugs.python.org/issue9669 (duplicate: https://bugs.python.org/issue12177)