def METHOD_NAME(self):
    self.infunc.side_effect = EOFError('Finished')
    self.console.interact()
    self.assertEqual(self.sysmod.ps1, '>>> ')
    self.sysmod.ps1 = 'custom1> '
    self.console.interact()
    self.assertEqual(self.sysmod.ps1, 'custom1> ')