Home
last modified time | relevance | path

Searched refs:caplog (Results 1 – 20 of 20) sorted by relevance

/external/fonttools/Tests/ufoLib/
DufoLib_test.py55 def test_readMetaInfo_unsupported_format_version(ufo_path, caplog): argument
65 caplog.clear()
66 with caplog.at_level(logging.WARNING, logger="fontTools.ufoLib"):
69 assert len(caplog.records) == 1
70 assert "Unsupported UFO format" in caplog.text
71 assert "Assuming the latest supported version" in caplog.text
DglifLib_test.py271 def test_read_unsupported_format_version(self, caplog): argument
285 caplog.clear()
286 with caplog.at_level(logging.WARNING, logger="fontTools.ufoLib.glifLib"):
289 assert len(caplog.records) == 1
290 assert "Unsupported GLIF format" in caplog.text
291 assert "Assuming the latest supported version" in caplog.text
339 def test_GlyphSet_unsupported_ufoFormatVersion(tmp_path, caplog): argument
/external/cronet/tot/third_party/protobuf/kokoro/macos-next/cpp/
Dbuild.sh25 source ${SOURCE_DIR}/kokoro/caplog.sh
37 caplog 01_configure \
45 caplog 02_build \
53 caplog 03_combined_testlog \
/external/cronet/stable/third_party/protobuf/kokoro/macos-next/cpp/
Dbuild.sh25 source ${SOURCE_DIR}/kokoro/caplog.sh
37 caplog 01_configure \
45 caplog 02_build \
53 caplog 03_combined_testlog \
/external/protobuf/kokoro/macos-next/cpp/
Dbuild.sh25 source ${SOURCE_DIR}/kokoro/caplog.sh
37 caplog 01_configure \
45 caplog 02_build \
53 caplog 03_combined_testlog \
/external/executorch/backends/arm/test/misc/
Dtest_debug_feats.py206 def test_dump_tosa_ops(caplog): argument
207 caplog.set_level(logging.INFO)
220 assert "TOSA operators:" in caplog.text
223 def test_fail_dump_tosa_ops(caplog): argument
224 caplog.set_level(logging.INFO)
239 assert "Can not get operator distribution for Vela command stream." in caplog.text
/external/fonttools/Tests/ttLib/
DremoveOverlaps_test.py9 def test_pathops_simplify_bug_workaround(caplog): argument
33 with caplog.at_level(logging.DEBUG, logger="fontTools.ttLib.removeOverlaps"):
36 assert "skia-pathops failed to simplify 'a' with float coordinates" in caplog.text
DttFont_test.py153 def test_getGlyphOrder_not_true_post_format_1(caplog): argument
155 caplog.set_level("WARNING")
159 log_rec = caplog.records[-1]
/external/python/watchdog/tests/
Dtest_fsevents.py97 caplog: pytest.LogCaptureFixture,
121 with caplog.at_level(logging.ERROR), patch.object(FSEventsEmitter, "events_callback", new=cb):
127 assert not caplog.records
131 caplog: pytest.LogCaptureFixture,
177 with caplog.at_level(logging.ERROR):
182 assert not caplog.records
/external/cronet/stable/third_party/protobuf/kokoro/
Dcaplog.sh45 function caplog() { shift; "$@"; } function
54 function caplog() { function
/external/protobuf/kokoro/
Dcaplog.sh45 function caplog() { shift; "$@"; } function
54 function caplog() { function
/external/cronet/tot/third_party/protobuf/kokoro/
Dcaplog.sh45 function caplog() { shift; "$@"; } function
54 function caplog() { function
/external/mesa3d/bin/ci/test/
Dtest_custom_logger.py608 def test_check_dut_timings_submission_earlier_than_start(custom_logger, caplog): argument
625 assert "Job submission is happening before job start." in caplog.text
629 def test_check_dut_timings_end_earlier_than_start(custom_logger, caplog): argument
646 assert "Job ended before it started." in caplog.text
650 def test_check_dut_timings_valid_timing_sequence(custom_logger, caplog): argument
668 assert "Job submission is happening before job start." not in caplog.text
669 assert "Job ended before it started." not in caplog.text
Dtest_pipeline_message.py144 mock_client_session_cls, mock_get_project_json, caplog argument
146 caplog.set_level(logging.DEBUG)
163 assert any(expected_log_message in record.message for record in caplog.records)
/external/fonttools/Tests/otlLib/
Doptimize_test.py148 caplog, argument
157 caplog.set_level(logging.DEBUG)
/external/python/python-api-core/tests/unit/
Dtest_bidi.py833 def test_consumer_expected_error(self, caplog): argument
834 caplog.set_level(logging.DEBUG)
852 assert "caught error" in caplog.text
854 def test_consumer_unexpected_error(self, caplog): argument
855 caplog.set_level(logging.DEBUG)
873 assert "caught unexpected exception" in caplog.text
875 def test_double_stop(self, caplog): argument
876 caplog.set_level(logging.DEBUG)
/external/fonttools/Tests/ttx/
Dttx_test.py951 def test_main_keyboard_interrupt(tmpdir, monkeypatch, caplog): argument
961 assert "(Cancelled.)" in caplog.text
973 def test_main_ttlib_error(tmpdir, monkeypatch, caplog): argument
985 assert "Test error" in caplog.text
988 def test_main_base_exception(tmpdir, monkeypatch, caplog): argument
1000 assert "Unhandled exception has occurred" in caplog.text
/external/fonttools/Tests/varLib/instancer/
Dinstancer_test.py1238 def test_drop_invalid_segment_map(self, varfont, invalidSegmentMap, caplog): argument
1243 with caplog.at_level(logging.WARNING, logger="fontTools.varLib.instancer"):
1246 assert "Invalid avar" in caplog.text
1468 def test_unknown_axis_value_format(self, varfont2, caplog): argument
1474 with caplog.at_level(logging.WARNING, logger="fontTools.varLib.instancer"):
1477 assert "Unknown AxisValue table format (5)" in caplog.text
1886 def test_unsupported_condition_format(self, caplog): argument
1900 with caplog.at_level(logging.WARNING, logger="fontTools.varLib.instancer"):
1908 ) in caplog.text
/external/fonttools/Tests/subset/
Dsubset_test.py996 def test_harfbuzz_repacker(self, caplog, monkeypatch, installed, enabled, ok): argument
1045 with caplog.at_level(logging.DEBUG, "fontTools.ttLib.tables.otBase"):
1056 assert "serializing 'GSUB' with hb.repack" in caplog.text
1061 ) in caplog.text
1066 ) in caplog.text
1074 in caplog.text
/external/fonttools/Tests/feaLib/
Dparser_test.py411 with CapturingLogHandler("fontTools.feaLib.parser", level="WARNING") as caplog:
416 self.assertEqual(len(caplog.records), 2)
417 caplog.assertRegex("Ambiguous glyph name that looks like a range:")
2127 with CapturingLogHandler("fontTools.feaLib.parser", level="WARNING") as caplog:
2130 self.assertEqual(len(caplog.records), 1)
2131 caplog.assertRegex(