def testEXPN(self):
        smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=15)

        for listname, members in sim_lists.items():
            users = []
            for m in members:
                users.append((sim_users[m], smtplib.quoteaddr(m)) % '%s %s')
            expected_known = (250, bytes('\n'.join(users), "ascii"))
            self.assertEqual(smtp.expn(listname), expected_known)

        u = 'PSU-Members-List'
        expected_unknown = (550, b'No access for you!')
        self.assertEqual(smtp.expn(u), expected_unknown)
        smtp.quit()
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/test/test_smtplib.py/SMTPSimTests.testEXPN/swapped operands of `%`