class_docstr: Let's get meta.
class_docstr_tok: ["Let","'s","get","meta","."]
code: def testCheckStdoutOrStderrNone(self):
      with six.assertRaisesRegex(self, AssertionError, "stdout:"):
          with self.assertOutputMatches(stdout=None):
              print("blah")
  
      with six.assertRaisesRegex(self, AssertionError, "stderr:"):
          with self.assertOutputMatches(stderr=None):
              print("blah", file=sys.stderr)
  
      with six.assertRaisesRegex(self, AssertionError, "stderr:"):
          with self.assertOutputMatches(stdout="apple", stderr=None):
              print("apple")
              print("blah", file=sys.stderr)
  
file_path: python-fire/fire/testutils_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import sys
  from fire import testutils
  import six
label_desc: Use image node_id 2 for calling the TestTestUtils obj's underlying member method code with example usage: obj.testCheckStdoutOrStderrNone() without return types