def test_ignoredExtTrue(self):
    '\n        Passing C{1} as the value to L{File}\'s C{ignoredExts} argument\n        issues a warning and sets the ignored extensions to the\n        wildcard C{"*"}.\n        '
    with warnings.catch_warnings(record=True) as caughtWarnings:
        file = static.File(self.mktemp(), ignoredExts=1)
        self.assertEqual(file.ignoredExts, ['*'])
    self.assertEqual(len(caughtWarnings), 1)
Passing C{1} as the value to L{File}'s C{ignoredExts} argument
issues a warning and sets the ignored extensions to the
wildcard C{"*"}.
def test_ignoredExtTrue(self):
    '\n        Passing C{1} as the value to L{File}\'s C{ignoredExts} argument\n        issues a warning and sets the ignored extensions to the\n        wildcard C{"*"}.\n        '
    with warnings.catch_warnings(record=True) as caughtWarnings:
        file = static.File(self.mktemp(), ignoredExts=1)
        self.assertEqual(file.ignoredExts, ['*'])
    self.assertEqual(len(caughtWarnings), 1)