[bugfix] botMayEdit has no function cache_clear()
[bugfix] botMayEdit has no function cache_clear()

After dopping lru_cache fix tests accordingly

Change-Id: Id2157cda3319d47e0df8462cc488f7bc3de0658d

wikimedia/pywikibot-core,wikimedia/pywikibot-core