ERRORS: python.spec
Jacek Konieczny
jajcus w bnet.pl
Pią, 10 Wrz 2004, 13:51:08 CEST
On Fri, Sep 10, 2004 at 10:45:06AM +0000, PLD ac-sparc builder wrote:
> 215 tests OK.
> 1 test failed:
> test_pty
Wie ktoś o co chodzi? Dokładnie, to test wywalił się z błędem:
"isatty hung"
Odpowiedni fragment testu:
---- cut ----
def handle_sig(sig, frame):
raise TestFailed, "isatty hung"
# isatty() and close() can hang on some platforms
# set an alarm before running the test to make sure we don't hang forever
old_alarm = signal.signal(signal.SIGALRM, handle_sig)
signal.alarm(10)
try:
test_basic_pty()
finally:
# remove alarm, restore old alarm handler
signal.alarm(0)
signal.signal(signal.SIGALRM, old_alarm)
---- cut ----
test_basic_pty() tworzy PTYsie i robi, między innymi isatty().
Nie wiem czy to błąd pythona, specyfika buildera, czy specyfika platformy.
Pozdrowienia,
Jacek
Więcej informacji o liście dyskusyjnej pld-devel-pl