def testSetTestOnlyComment(self):
    namespaces_info = self._GetNamespacesInfoForScript([
        'goog.setTestOnly(\'this is a comment\');'
        ], ['goog'])

    self.assertEquals(
        [], namespaces_info._created_namespaces,
        'A comment in setTestOnly should not modify created namespaces.')
Set the field data of the record.
dataset/ETHPy150Open google/closure-linter/closure_linter/closurizednamespacesinfo_test.py/ClosurizedNamespacesInfoTest.testSetTestOnlyComment--crossover with--dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/fitsrec.py/FITS_record.setfield