class_docstr: Source written with the three types of line endings (\n, \r\n, \r)
  need to be readable [cr][crlf][lf].
class_docstr_tok: ["Source","written","with","the","three","types","of","line","endings","(","\\n",",","\\r\\n",",","\\r",")","need","to","be","readable","[","cr","]","[","crlf","]","[","lf","]","."]
code: def run_test(self, line_ending):
      module_name = "_temp"
      source_lines = [b"a = 42", b"b = -13", b""]
      source = line_ending.join(source_lines)
      with util.create_modules(module_name) as mapping:
          with open(mapping[module_name], "wb") as file:
              file.write(source)
          loader = self.machinery.SourceFileLoader(
              module_name, mapping[module_name]
          )
          return self.load(loader, module_name)
  
imports: from test.test_importlib import util
  import codecs
  import importlib.util
  import re
  import types
  import unicodedata
  import unittest
  import warnings
label_desc: Use image node_id 1 for calling the LineEndingTest obj's underlying member method code with example usage: obj.run_test(line_ending) and returns: self