Index: recipe_engine/unittests/stream_test.py |
diff --git a/recipe_engine/unittests/stream_test.py b/recipe_engine/unittests/stream_test.py |
index 03a7e8b3cb1ac863437ce2284f443910522d9acc..c0d58bcf00c243f9778e5406e0cff6f4571bbd58 100755 |
--- a/recipe_engine/unittests/stream_test.py |
+++ b/recipe_engine/unittests/stream_test.py |
@@ -36,10 +36,8 @@ |
# 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, |
- nest_level=1) |
+ bars_baby = engine.new_step_stream('bar\'s baby', allow_subannotations=True) |
+ bars_baby.set_nest_level(1) |
bars_baby.write_line('I\'m in bar\'s imagination!!') |
bars_baby.write_line('@@@STEP_WARNINGS@@@') |
bars_baby.reset_subannotation_state() |