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

Unified Diff: recipe_engine/unittests/recipe_api_test.py

Issue 2856003002: [doc] fix doc to work in all known repos. (Closed)
Patch Set: add docstring Created 3 years, 8 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
« recipe_engine/doc.py ('K') | « recipe_engine/recipe_api.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_engine/unittests/recipe_api_test.py
diff --git a/recipe_engine/unittests/recipe_api_test.py b/recipe_engine/unittests/recipe_api_test.py
index 239b0ffcc5f4808acd3377c9f8db4f78a82aa58b..f0907e25be5554e36170cad474912beb668857f9 100755
--- a/recipe_engine/unittests/recipe_api_test.py
+++ b/recipe_engine/unittests/recipe_api_test.py
@@ -16,7 +16,7 @@ def make_prop(**kwargs):
class TestProperties(unittest.TestCase):
def testDefault(self):
"""Tests the default option of properties."""
- for default in (1, object(), "test", None):
+ for default in (1, {}, "test", None):
prop = make_prop(default=default)
self.assertEqual(default, prop.interpret(recipe_api.PROPERTY_SENTINEL))
« recipe_engine/doc.py ('K') | « recipe_engine/recipe_api.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698