Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Unified Diff: typ/json_results.py

Issue 2363773008: Add better logging when failing to load a test. (Closed)
Patch Set: patch for review Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pylintrc ('k') | typ/runner.py » ('j') | typ/tests/main_test.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: typ/json_results.py
diff --git a/typ/json_results.py b/typ/json_results.py
index b8500bf4d8cfd88e202c48dd3c22431aeab26d2b..62233ab619af122dbd607fb0da1211a7d93873dc 100644
--- a/typ/json_results.py
+++ b/typ/json_results.py
@@ -151,7 +151,7 @@ def _actual_results_for_test(test_name, results):
actuals.append('PASS')
elif r.actual == ResultType.Skip:
actuals.append('SKIP')
- if not actuals:
+ if not actuals: # pragma: untested
actuals.append('SKIP')
return ' '.join(actuals)
« no previous file with comments | « pylintrc ('k') | typ/runner.py » ('j') | typ/tests/main_test.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698