def test_ignoredExtFalse(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 empty\n        list.\n        "
    with warnings.catch_warnings(record=True) as caughtWarnings:
        file = static.File(self.mktemp(), ignoredExts=0)
        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 empty
list.
def test_ignoredExtFalse(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 empty\n        list.\n        "
    with warnings.catch_warnings(record=True) as caughtWarnings:
        file = static.File(self.mktemp(), ignoredExts=0)
        self.assertEqual(file.ignoredExts, [])
    self.assertEqual(len(caughtWarnings), 1)