class_docstr: Testing `tabnanny.process_tokens()`.
class_docstr_tok: ["Testing","`","tabnanny.process_tokens","(",")","`","."]
docstr: A python source code without any whitespace related problems.
docstr_tok: ["A","python","source","code","without","any","whitespace","related","problems","."]
code: def test_with_correct_code(self, MockNannyNag):
      """A python source code without any whitespace related problems."""
  
      with TemporaryPyFile(SOURCE_CODES["error_free"]) as file_path:
          with open(file_path) as f:
              tabnanny.process_tokens(
                  tokenize.generate_tokens(f.readline)
              )
          self.assertFalse(MockNannyNag.called)
  
imports: from unittest import TestCase, mock
  import errno
  import os
  import tabnanny
  import tokenize
  import tempfile
  import textwrap
  from test.support import captured_stderr, captured_stdout, script_helper, findfile
  from test.support.os_helper import unlink
label_desc: Use image node_id 1 for calling the TestProcessTokens obj's underlying member method code with example usage: obj.test_with_correct_code(MockNannyNag) without return types