

def testTimeoutNone(self):
    self.assertTrue((socket.getdefaulttimeout() is None))
    socket.setdefaulttimeout(30)
    try:
        pop = poplib.POP3(HOST, self.port, timeout=None)
    finally:
        socket.setdefaulttimeout(None)
    self.assertTrue((pop.sock.gettimeout() is None))
    self.sock.close()

dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/test/test_poplib.py TestTimeouts.testTimeoutNone/VarMisuse@83/105 `pop`->`self`