/external/ply/ply/test/ |
D | testyacc.py | 99 result = sys.stderr.getvalue() 106 result = sys.stderr.getvalue() 116 result = sys.stderr.getvalue() 122 result = sys.stderr.getvalue() 129 result = sys.stderr.getvalue() 138 result = sys.stderr.getvalue() 150 result = sys.stderr.getvalue() 156 result = sys.stderr.getvalue() 168 result = sys.stderr.getvalue() 176 result = sys.stderr.getvalue() [all …]
|
D | testlex.py | 99 result = sys.stderr.getvalue() 104 result = sys.stderr.getvalue() 110 result = sys.stderr.getvalue() 116 result = sys.stderr.getvalue() 122 result = sys.stderr.getvalue() 129 result = sys.stderr.getvalue() 135 result = sys.stderr.getvalue() 142 result = sys.stderr.getvalue() 148 result = sys.stderr.getvalue() 154 result = sys.stderr.getvalue() [all …]
|
/external/libxml2/python/tests/ |
D | outbuf.py | 18 if f.getvalue() != "foobar": 36 if f.getvalue() != expected: 38 print(' got: %s' % repr(f.getvalue())) 60 if f.getvalue() != expected[i]: 62 print(' got: %s' % repr(f.getvalue())) 81 if f.getvalue() != expected: 83 print(' got: %s' % repr(f.getvalue())) 89 if f.getvalue() != expected: 91 print(' got: %s' % repr(f.getvalue()))
|
/external/python/cpython2/Lib/test/ |
D | test_memoryio.py | 85 self.assertEqual(memio.getvalue(), buf) 88 self.assertEqual(memio.getvalue(), buf) 98 self.assertEqual(memio.getvalue(), buf * 100) 100 self.assertEqual(memio.getvalue(), buf * 100) 103 self.assertEqual(memio.getvalue(), buf) 123 self.assertEqual(memio.getvalue(), buf[:6]) 125 self.assertEqual(memio.getvalue(), buf[:4]) 128 self.assertEqual(memio.getvalue(), buf[:4]) 132 self.assertEqual(memio.getvalue(), buf[:4] + buf) 143 self.assertEqual(memio.getvalue(), buf) [all …]
|
D | test_multibytecodec.py | 170 self.assertEqual(s.getvalue(), '123') 172 self.assertEqual(s.getvalue(), '123\x907\x959') 174 self.assertEqual(s.getvalue(), '123\x907\x959') 176 self.assertEqual(s.getvalue(), 179 self.assertEqual(s.getvalue(), 182 self.assertEqual(s.getvalue(), 190 self.assertEqual(s.getvalue(), '123') 192 self.assertEqual(s.getvalue(), '123\xf0\x92\x8d\x85') 197 self.assertEqual(s.getvalue(), '123\xf0\x92\x8d\x85') 199 self.assertEqual(s.getvalue(), [all …]
|
D | test_StringIO.py | 44 self.assertEqual(f.getvalue(), 'abcuvwxyz!') 50 self.assertEqual(f.getvalue(), 'abc') 65 eq(f.getvalue(), 'abcdefghij') 67 eq(f.getvalue(), 'abcde') 69 eq(f.getvalue(), 'abcdexyz') 108 self.assertRaises(ValueError, self._fp.getvalue) 146 self.assertEqual(len(f.getvalue()), size) 165 s = f.getvalue() 176 self.assertEqual(f.getvalue(), '\x00\x01\x02') 188 s = f.getvalue() [all …]
|
D | test_site.py | 120 self.assertRegexpMatches(err_out.getvalue(), "line 1") 121 self.assertRegexpMatches(err_out.getvalue(), 126 self.assertRegexpMatches(err_out.getvalue(), 'Traceback') 127 self.assertRegexpMatches(err_out.getvalue(), r'import bad\)syntax') 128 self.assertRegexpMatches(err_out.getvalue(), 'SyntaxError') 135 self.assertRegexpMatches(err_out.getvalue(), "line 2") 136 self.assertRegexpMatches(err_out.getvalue(), 139 self.assertRegexpMatches(err_out.getvalue(), 'Traceback') 140 self.assertRegexpMatches(err_out.getvalue(), 'ImportError') 149 self.assertRegexpMatches(err_out.getvalue(), "line 1") [all …]
|
D | test_sax.py | 123 self.assertEqual(result.getvalue(), xml_bytes(self.data, 'utf-8')) 180 self.assertEqual(result.getvalue(), xml_bytes(self.data, 'utf-8')) 343 self.assertEqual(result.getvalue(), start + "<doc></doc>") 355 self.assertEqual(result.getvalue(), start + "<doc>huhei</doc>") 367 self.assertEqual(result.getvalue(), start + "<?test data?><doc></doc>") 379 self.assertEqual(result.getvalue(), 397 self.assertEqual(result.getvalue(), start + 416 self.assertEqual(result.getvalue(), ( 431 self.assertEqual(result.getvalue(), 445 self.assertEqual(result.getvalue(), start + "<doc> </doc>") [all …]
|
D | test_wsgiref.py | 59 return out.getvalue(), err.getvalue() 445 self.assertEqual(h.stdout.getvalue(), 453 self.assertEqual(h.stdout.getvalue(), 461 self.assertEqual(h.stdout.getvalue(), 477 self.assertEqual(h.stdout.getvalue(), 481 self.assertEqual(h.stderr.getvalue(),"") 485 self.assertEqual(h.stdout.getvalue(), 491 self.assertNotEqual(h.stderr.getvalue().find("AssertionError"), -1) 501 self.assertEqual(h.stdout.getvalue(), 504 self.assertNotEqual(h.stderr.getvalue().find("AssertionError"), -1) [all …]
|
D | test_uu.py | 26 self.assertEqual(out.getvalue(), encodedtextwrapped % (0666, "t1")) 30 self.assertEqual(out.getvalue(), encodedtextwrapped % (0644, "t1")) 36 self.assertEqual(out.getvalue(), plaintext) 44 self.assertEqual(out.getvalue(), plaintext) 78 self.assertEqual(out.getvalue(), plaintext) 99 sys.stdout.getvalue(), 107 self.assertEqual(sys.stdout.getvalue(), plaintext)
|
D | test_cmd.py | 198 self.assertMultiLineEqual(output.getvalue(), 210 self.assertMultiLineEqual(output.getvalue(), 219 self.assertMultiLineEqual(output.getvalue(),
|
D | test_atexit.py | 27 self.assertEqual(self.subst_io.getvalue(), 39 self.assertEqual(self.subst_io.getvalue(), "h3\nh2\nh1\n") 51 self.assertEqual(self.subst_io.getvalue(), "h2\nh1\n")
|
D | test_pydoc.py | 471 self.assertEqual(out.getvalue(), '') 472 self.assertEqual(err.getvalue(), '') 477 self.assertEqual(out.getvalue().strip(), 'syntaxerr') 478 self.assertEqual(err.getvalue(), '') 492 self.assertEqual(out.getvalue(), '') 493 self.assertEqual(err.getvalue(), '') 525 helptext = help_io.getvalue() 619 self.assertEqual(output.getvalue(), 'wrote Q.html\n')
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
D | t054main.py | 73 self.failUnlessEqual(len(stdout.getvalue().splitlines()), 3) 99 self.failUnlessEqual(len(stdout.getvalue().splitlines()), 3) 125 self.failUnlessEqual(len(stdout.getvalue().splitlines()), 3) 153 stdout = stdout.getvalue() 184 stdout = stdout.getvalue().strip() 225 stdout = stdout.getvalue().strip() 268 stdout = stdout.getvalue().strip() 313 stdout = stdout.getvalue().strip()
|
/external/autotest/server/site_tests/native_Benchmarks/ |
D | native_Benchmarks_common.py | 28 stdout.getvalue(), 29 stderr.getvalue()) 32 stdout_str = stdout.getvalue()
|
/external/autotest/server/site_tests/telemetry_Crosperf/ |
D | telemetry_Crosperf.py | 81 stdout.getvalue(), stderr.getvalue()) 86 stdout_str = stdout.getvalue() 183 stdout_str = stdout.getvalue() 184 stderr_str = stderr.getvalue()
|
/external/python/cpython2/Lib/unittest/test/ |
D | test_result.py | 428 self.assertEqual(out_stream.getvalue(), 'foo\n') 429 self.assertEqual(err_stream.getvalue(), 'bar\n') 431 self.assertEqual(result._original_stdout.getvalue(), '') 432 self.assertEqual(result._original_stderr.getvalue(), '') 440 self.assertEqual(result._original_stdout.getvalue(), '') 441 self.assertEqual(result._original_stderr.getvalue(), '') 443 self.assertEqual(out_stream.getvalue(), '') 444 self.assertEqual(err_stream.getvalue(), '') 495 self.assertEqual(result._original_stdout.getvalue(), expectedOutMessage) 496 self.assertEqual(result._original_stderr.getvalue(), expectedErrMessage)
|
/external/python/cpython2/Lib/lib2to3/tests/ |
D | test_main.py | 61 output = out.getvalue() 64 "your terminal", err.getvalue()) 97 stderr = err.getvalue() 125 stderr = err.getvalue() 140 stderr = err.getvalue()
|
/external/python/cpython2/Doc/library/ |
D | stringio.rst | 25 :exc:`UnicodeError` to be raised when :meth:`getvalue` is called. 30 .. method:: StringIO.getvalue() 53 contents = output.getvalue() 56 # .getvalue() will now raise an exception. 122 contents = output.getvalue() 125 # .getvalue() will now raise an exception.
|
/external/python/cpython2/Lib/unittest/ |
D | result.py | 87 output = sys.stdout.getvalue() 88 error = sys.stderr.getvalue() 167 output = sys.stdout.getvalue() 168 error = sys.stderr.getvalue()
|
/external/autotest/server/cros/ |
D | telemetry_runner.py | 288 stdout = output.getvalue() 289 stderr = error_output.getvalue() 464 stdout.getvalue(), stderr.getvalue()) 469 stdout_str = stdout.getvalue()
|
/external/python/cpython2/Demo/cgi/ |
D | wiki.py | 10 cmd = form.getvalue("cmd", "view") 11 page = form.getvalue("page", "FrontPage") 65 self.data = form.getvalue("text", "").strip()
|
/external/autotest/client/cros/cellular/ |
D | labconfig_write_stanzas | 58 print f.dhcp.getvalue() 60 print f.dns.getvalue()
|
/external/python/cpython2/Lib/encodings/ |
D | quopri_codec.py | 25 output = g.getvalue() 40 output = g.getvalue()
|
/external/python/cpython2/Lib/email/ |
D | generator.py | 118 self._fp.write(sfp.getvalue()) 204 msgtexts.append(s.getvalue()) 262 text = s.getvalue() 289 payload = s.getvalue()
|