def test_piped_on_tty(self): ok_(piped(sys.stdin) is None)
def test_piped_on_file(self): ok_(piped(self.temp_file) is not None)