Index: recipe_engine/unittests/stream_test.py |
diff --git a/recipe_engine/unittests/stream_test.py b/recipe_engine/unittests/stream_test.py |
index c0d58bcf00c243f9778e5406e0cff6f4571bbd58..2e8d12f3638af5643c1b824b62d13f65dd88ef03 100755 |
--- a/recipe_engine/unittests/stream_test.py |
+++ b/recipe_engine/unittests/stream_test.py |
@@ -36,8 +36,10 @@ class StreamTest(unittest.TestCase): |
# subannotations, since the subannotator stream could have changed the |
# active step. To do this right we would need to parse and re-emit |
# subannotations. |
- bars_baby = engine.new_step_stream('bar\'s baby', allow_subannotations=True) |
- bars_baby.set_nest_level(1) |
+ bars_baby = engine.new_step_stream( |
+ 'bar\'s baby', |
+ allow_subannotations=True, |
+ nested=True) |
bars_baby.write_line('I\'m in bar\'s imagination!!') |
bars_baby.write_line('@@@STEP_WARNINGS@@@') |
bars_baby.reset_subannotation_state() |