class_docstr: Test that log messages emitted in the first step
  are saved and readable.
class_docstr_tok: ["Test","that","log","messages","emitted","in","the","first","step","are","saved","and","readable","."]
code: def step_single(self):
      import sys
  
      msg1 = "stdout: A regular message.\n"
      msg2 = "stdout: A message with unicode: \u5e74\n"
      sys.stdout.write(msg1)
      if not sys.stdout.encoding:
          sys.stdout.write(msg2.encode("utf8"))
      else:
          sys.stdout.write(msg2)
  
      msg3 = "stderr: A regular message.\n"
      msg4 = "stderr: A message with unicode: \u5e74\n"
      sys.stderr.write(msg3)
      if not sys.stderr.encoding:
          sys.stderr.write(msg4.encode("utf8"))
      else:
          sys.stderr.write(msg4)
  
imports: from metaflow_test import MetaflowTest, ExpectationFailed, steps
label_desc: Use image node_id 1 for calling the BasicLogTest obj's underlying member method code with example usage: obj.step_single() without return types