Home
last modified time | relevance | path

Searched refs:splitlines (Results 1 – 25 of 781) sorted by relevance

12345678910>>...32

/external/pigweed/pw_tokenizer/py/
Ddatabase_test.py157 self.assertEqual(CSV_DEFAULT_DOMAIN.splitlines(),
158 self._csv.read_text().splitlines())
163 self.assertEqual(self._csv_test_domain.splitlines(),
164 self._csv.read_text().splitlines())
169 self.assertEqual(CSV_ALL_DOMAINS.splitlines(),
170 self._csv.read_text().splitlines())
187 self.assertEqual(CSV_DEFAULT_DOMAIN.splitlines(),
188 self._csv.read_text().splitlines())
198 self.assertEqual(db_with_custom_token.splitlines(),
199 self._csv.read_text().splitlines())
[all …]
/external/python/cryptography/tests/
Dtest_utils.py87 """).splitlines()
124 """).splitlines()
158 ).splitlines()
247 """).splitlines()
276 """).splitlines()
303 """).splitlines()
320 """).splitlines()
335 """).splitlines()
450 """).splitlines()
792 """).splitlines()
[all …]
/external/python/cpython2/Lib/test/
Dtest_difflib.py151 f1a = f1a.splitlines()
152 t1a = t1a.splitlines()
153 f1b = f1b.splitlines()
154 t1b = t1b.splitlines()
155 f2 = patch914575_from2.splitlines()
156 t2 = patch914575_to2.splitlines()
187 k.make_table(f3.splitlines(),t3.splitlines(),context=True,numlines=0),
189 k.make_table(f3.splitlines(),t3.splitlines()),
191 k.make_table(f3.splitlines(True),t3.splitlines(True)),
/external/fonttools/Tests/pens/
Dcu2quPen_test.py38 expected = str(self.Glyph(expected)).splitlines(True)
39 actual = str(self.Glyph(actual)).splitlines(True)
100 self.assertEqual(str(pen).splitlines(), [
166 self.assertEqual(str(pen).splitlines(), [
177 self.assertEqual(str(pen).splitlines(), [
196 self.assertEqual(str(pen).splitlines(), [
207 self.assertEqual(str(pen).splitlines(), [
218 self.assertEqual(str(pen).splitlines(), [
230 self.assertEqual(str(pen).splitlines(), [
242 self.assertEqual(str(pen).splitlines(), [
[all …]
/external/python/cpython3/Lib/test/test_tools/test_c_analyzer/test_parser/
Dtest_declarations.py92 lines = lines.splitlines()
114 ' '.join(l.strip() for l in text.splitlines()))
116 lines = lines.splitlines()
154 ''').splitlines()
253 lines = lines.splitlines()
279 lines = lines.splitlines()
362 ''').splitlines()
426 lines = lines.splitlines()
543 return self._return_iter_source_lines.splitlines()
633 ('_iter_global', (content.splitlines(),)),
[all …]
/external/python/cpython3/Lib/test/
Dtest_difflib.py196 f1a = f1a.splitlines()
197 t1a = t1a.splitlines()
198 f1b = f1b.splitlines()
199 t1b = t1b.splitlines()
200 f2 = patch914575_from2.splitlines()
201 t2 = patch914575_to2.splitlines()
232 k.make_table(f3.splitlines(),t3.splitlines(),context=True,numlines=0),
234 k.make_table(f3.splitlines(),t3.splitlines()),
236 k.make_table(f3.splitlines(True),t3.splitlines(True)),
256 output = html_diff.make_file(patch914575_from1.splitlines(),
[all …]
Dtest_pdb.py1374 any('main.py(5)foo()->None' in l for l in stdout.splitlines()),
1508 self.assertTrue(any("SUCCESS" in l for l in stdout.splitlines()), stdout)
1520 self.assertTrue(any("SUCCESS" in l for l in stdout.splitlines()), stdout)
1534 self.assertTrue(any("Breakpoint 1 at" in l for l in stdout.splitlines()), stdout)
1535 self.assertTrue(all("SUCCESS" not in l for l in stdout.splitlines()), stdout)
1558 stdout.splitlines())
1571 in l for l in stdout.splitlines()), stdout)
1606 self.assertTrue(any("VAR from module" in l for l in stdout.splitlines()), stdout)
1607 self.assertTrue(any("VAR from top" in l for l in stdout.splitlines()))
1608 self.assertTrue(any("second var" in l for l in stdout.splitlines()))
[all …]
/external/python/cpython3/Lib/test/test_json/
Dtest_tool.py104 self.assertEqual(out.splitlines(), self.expect.encode().splitlines())
119 self.assertEqual(out.splitlines(), expect.splitlines())
149 self.assertEqual(out.splitlines(),
150 self.expect_without_sort_keys.encode().splitlines())
196 lines = f.read().splitlines()
207 lines = f.read().splitlines()
/external/libchrome/build/
Dfix_gn_headers.py35 lines = open(gnfile).read().splitlines()
69 matches = ValidMatches(basename, cc, out.splitlines())
93 lines = open(gnfile).read().splitlines()
121 lines = open(gnfile).read().splitlines()
154 grep_lines = out.splitlines()
160 lines = open(gnfile).read().splitlines()
186 lines = open(gnfile).read().splitlines()
/external/python/cpython2/Lib/json/tests/
Dtest_tool.py45 self.assertEqual(out.splitlines(), self.expect.encode().splitlines())
58 self.assertEqual(out.splitlines(), self.expect.encode().splitlines())
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_warning.py46 self.assertEqual(idlemsg.splitlines(), f.getvalue().splitlines())
69 self.assertEqual(shellmsg.splitlines(), f.getvalue().splitlines())
/external/python/cpython2/Lib/idlelib/idle_test/
Dtest_warning.py47 self.assertEqual(idlemsg.splitlines(), f.getvalue().splitlines())
69 self.assertEqual(shellmsg.splitlines(), f.getvalue().splitlines())
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Types/
DtUINT8_ARRAY.py118 … indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
158 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
190 param_check= open(self.param_short_name).read().splitlines()[index]
199 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
239 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
271 param_check= open(self.param_short_name).read().splitlines()[index]
280 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
357 param_check_1 = open(self.param_short_name).read().splitlines()[index]
358 param_check_2 = open(self.param_short_name).read().splitlines()[index + 1]
367 … indexed_files_system_array_value_2 = open(self.param_short_name).read().splitlines()[index + 1]
DtUINT32_ARRAY.py118 … indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
158 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
190 param_check = open(self.param_short_name).read().splitlines()[index]
199 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
239 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
271 param_check = open(self.param_short_name).read().splitlines()[index]
280 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
DtINT16_ARRAY.py117 … indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
157 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
225 param_check = open(self.param_short_name).read().splitlines()[index]
234 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
274 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
306 param_check = open(self.param_short_name).read().splitlines()[index]
315 indexed_files_system_array_value = open(self.param_short_name).read().splitlines()[index]
/external/yapf/yapftests/
Dyapf_test_helper.py38 for l in expected_code.splitlines():
44 for l in code.splitlines():
52 code.splitlines(),
53 expected_code.splitlines(),
/external/python/cpython2/Lib/ctypes/test/
Dtest_random_things.py51 self.assertEqual(out.splitlines()[-1],
57 self.assertEqual(out.splitlines()[-1][:19],
63 self.assertEqual(out.splitlines()[-1][:19],
69 self.assertEqual(out.splitlines()[-1],
/external/toolchain-utils/afdo_redaction/
Dremove_indirect_calls_test.py21 return output_buf.getvalue().splitlines()
46 """.strip().splitlines()
61 """.strip().splitlines()
/external/autotest/client/cros/audio/
Dalsa_utils.py91 for line in output.splitlines():
126 for line in output.splitlines():
160 line.split(',') for line in output.splitlines()))
187 for line in output.splitlines():
209 supported_channels = output.splitlines()
238 for line in output.splitlines():
253 for line in output.splitlines():
381 for line in output.splitlines():
/external/python/pybind11/tests/
Dconftest.py38 return sorted(_strip_and_dedent(s).splitlines())
62 for line in self.string.strip().splitlines()
65 b = _strip_and_dedent(other).splitlines()
145 self.explanation = _make_explanation(a.splitlines(), b.splitlines())
/external/llvm-project/lldb/test/API/tools/lldb-vscode/launch/
DTestVSCode_launch.py35 lines = output.splitlines()
101 lines = output.splitlines()
129 lines = output.splitlines()
154 lines = output.splitlines()
201 lines = output.splitlines()
227 lines = output.splitlines()
252 lines = output.splitlines()
278 lines = output.splitlines()
/external/python/cpython3/Lib/unittest/test/
Dtest_runner.py278 self.assertEqual(result.errors[0][1].splitlines()[-1],
301 self.assertEqual(result.errors[0][1].splitlines()[-1],
330 self.assertEqual(result.errors[0][1].splitlines()[-1],
339 self.assertEqual(result.errors[0][1].splitlines()[-1],
341 self.assertEqual(result.errors[1][1].splitlines()[-1],
350 self.assertEqual(result.errors[0][1].splitlines()[-1],
352 self.assertEqual(result.errors[1][1].splitlines()[-1],
449 self.assertEqual(result.errors[0][1].splitlines()[-1],
635 self.assertEqual(result.errors[0][1].splitlines()[-1],
665 self.assertEqual(result.errors[0][1].splitlines()[-1],
[all …]
/external/google-benchmark/tools/
Dstrip_asm.py15 for l in asm.splitlines():
25 for l in asm.splitlines():
44 for l in asm.splitlines():
103 for l in asm.splitlines():
/external/llvm-project/llvm/utils/benchmark/tools/
Dstrip_asm.py15 for l in asm.splitlines():
25 for l in asm.splitlines():
44 for l in asm.splitlines():
103 for l in asm.splitlines():
/external/libcxx/utils/google-benchmark/tools/
Dstrip_asm.py15 for l in asm.splitlines():
25 for l in asm.splitlines():
44 for l in asm.splitlines():
103 for l in asm.splitlines():

12345678910>>...32