def METHOD_NAME(self, ptx):
    # A .file directive should be produced and include the name of the
    # source. The path and whitespace may vary, so we accept anything
    # ending in the filename of this module.
    self.assertRegex(ptx, '\\.file.*test_compiler.py"')