• Tim Peters's avatar
    Kill several problems at once: test_poll() failed sometimes for me. · 29b6b4f7
    Tim Peters yazdı
    Turns out the mysterious "expected output" file contained exactly N dots,
    because test_poll() has a loop that *usually* went around N times,
    printing one dot on each loop trip.  But there's no guarantee of that,
    because the exact value of N depended on the vagaries of scheduling
    time.sleep()s across two different processes.  So stopped printing dots,
    and got rid of the expected output file.  Add a loop counter instead,
    and verify that the loop goes around at least a couple of times.  Also
    cut the minimum time needed for this test from 4 seconds to 1.
    29b6b4f7
Adı
Son kayıt (commit)
Son güncelleme
..
test_MimeWriter Loading commit data...
test_asynchat Loading commit data...
test_augassign Loading commit data...
test_cgi Loading commit data...
test_class Loading commit data...
test_coercion Loading commit data...
test_compare Loading commit data...
test_cookie Loading commit data...
test_exceptions Loading commit data...
test_extcall Loading commit data...
test_frozen Loading commit data...
test_global Loading commit data...
test_grammar Loading commit data...
test_httplib Loading commit data...
test_linuxaudiodev Loading commit data...
test_logging Loading commit data...
test_math Loading commit data...
test_mmap Loading commit data...
test_new Loading commit data...
test_nis Loading commit data...
test_opcodes Loading commit data...
test_openpty Loading commit data...
test_operations Loading commit data...
test_ossaudiodev Loading commit data...
test_pep277 Loading commit data...
test_pkg Loading commit data...
test_poll Loading commit data...
test_popen Loading commit data...
test_popen2 Loading commit data...
test_profile Loading commit data...
test_pty Loading commit data...
test_pyexpat Loading commit data...
test_regex Loading commit data...
test_resource Loading commit data...
test_rgbimg Loading commit data...
test_scope Loading commit data...
test_signal Loading commit data...
test_thread Loading commit data...
test_threadedtempfile Loading commit data...
test_tokenize Loading commit data...
test_types Loading commit data...
test_winreg Loading commit data...
xmltests Loading commit data...