parameters: (self, node)
return_statement: return node
docstring: Remove tests for alternatively allowed None values from
          type tests when we know that the argument cannot be None
          anyway.
docstring_summary: Remove tests for alternatively allowed None values from
          type tests when we know that the argument cannot be None
          anyway.
docstring_tokens: Remove tests for alternatively allowed None values from type tests when we know that the argument cannot be None anyway .
function: def visit_PyTypeTestNode(self, node):
          """Remove tests for alternatively allowed None values from
          type tests when we know that the argument cannot be None
          anyway.
          """
          self.visitchildren(node)
          if not node.notnone:
              if not node.arg.may_be_none():
                  node.notnone = True
          return node
function_tokens: def visit_PyTypeTestNode ( self , node ) : self . visitchildren ( node ) if not node . notnone : if not node . arg . may_be_none ( ) : node . notnone = True return node