Skip to content
Snippets Groups Projects
  • Per Cederqvist's avatar
    2e2ae747
    Import test.base instead of importing unittest. Removed top-level · 2e2ae747
    Per Cederqvist authored
    code -- use testdriver.py to run the tests instead.
    (TestPopen): Inherit from test.base.TestCase.
    (Timeout): Moved to test/base.py.
    (handler): Ditto.
    (TestPopen.setUp): Moved to test.base.TestCase.
    (TestPopen.tearDown): Ditto.
    (TestPopen.test_popen_sleep_1): Use assertTimeDiff instead of
    	assertAlmostEqual.
    (TestPopen.test_popen_sleep_1_compat): Ditto.
    (TestPopen.test_read_hello_no_eof_handling): New test.
    (TestPopen.test_read_hello_no_eof_handling_no_exception): New test.
    2e2ae747
    History
    Import test.base instead of importing unittest. Removed top-level
    Per Cederqvist authored
    code -- use testdriver.py to run the tests instead.
    (TestPopen): Inherit from test.base.TestCase.
    (Timeout): Moved to test/base.py.
    (handler): Ditto.
    (TestPopen.setUp): Moved to test.base.TestCase.
    (TestPopen.tearDown): Ditto.
    (TestPopen.test_popen_sleep_1): Use assertTimeDiff instead of
    	assertAlmostEqual.
    (TestPopen.test_popen_sleep_1_compat): Ditto.
    (TestPopen.test_read_hello_no_eof_handling): New test.
    (TestPopen.test_read_hello_no_eof_handling_no_exception): New test.