def METHOD_NAME(self):
    # Github issue #3459
    event = MockEvent(u'%run a.py {}'.format(join(self.BASETESTDIR, 'a')))
    print(repr(event.line))
    match = set(magic_run_completer(None, event))
    # We specifically use replace here rather than normpath, because
    # at one point there were duplicates 'adir' and 'adir/', and normpath
    # would hide the failure for that.
    self.assertEqual(match, {join(self.BASETESTDIR, f).replace('\\','/')
                        for f in (u'a.py', u'aao.py', u'aao.txt', u'adir/')})