Don't cache duplicate plugin names (#34420)

* Don't cache duplicate plugin names. Fixes #33484

* Add tests for duplicate plugin filenames, to showcase what happens
This commit is contained in:
Matt Martz 2018-01-04 16:47:23 -06:00 committed by GitHub
parent edf56c9743
commit aece0818c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 61 additions and 1 deletions

View file

@ -0,0 +1,8 @@
# Nothing to see here, this file is just empty to support a imp.load_source
# without doing anything
__metaclass__ = type
class test:
def __init__(self, *args, **kwargs):
pass