Loading tests/unit/proc/test_proc.py +3 −1 Original line number Diff line number Diff line Loading @@ -64,8 +64,10 @@ class ExecIOTests(TestCase): """ Check that calling with the deprecated "data" argument passes bytes to stdin """ msg_re = r".*'data'.* use 'input'" with warnings.catch_warnings(record=True) as messages: warnings.simplefilter("always") warnings.filterwarnings("ignore") warnings.filterwarnings("always", category=DeprecationWarning, message=msg_re) output = proc.exec_io(ECHO_OUTPUT, data=TEST_BYTES, deserialiser=bytes) Loading Loading
tests/unit/proc/test_proc.py +3 −1 Original line number Diff line number Diff line Loading @@ -64,8 +64,10 @@ class ExecIOTests(TestCase): """ Check that calling with the deprecated "data" argument passes bytes to stdin """ msg_re = r".*'data'.* use 'input'" with warnings.catch_warnings(record=True) as messages: warnings.simplefilter("always") warnings.filterwarnings("ignore") warnings.filterwarnings("always", category=DeprecationWarning, message=msg_re) output = proc.exec_io(ECHO_OUTPUT, data=TEST_BYTES, deserialiser=bytes) Loading