def test_ignoreExt(self):
    '\n        The list of ignored extensions can be set by passing a value to\n        L{File.__init__} or by calling L{File.ignoreExt} later.\n        '
    file = static.File(b'.')
    self.assertEqual(file.ignoredExts, [])
    file.ignoreExt('.foo')
    file.ignoreExt('.bar')
    self.assertEqual(file.ignoredExts, ['.foo', '.bar'])
    file = static.File(b'.', ignoredExts=('.bar', '.baz'))
    self.assertEqual(file.ignoredExts, ['.bar', '.baz'])
The list of ignored extensions can be set by passing a value to
L{File.__init__} or by calling L{File.ignoreExt} later.
def test_ignoreExt(self):
    '\n        The list of ignored extensions can be set by passing a value to\n        L{File.__init__} or by calling L{File.ignoreExt} later.\n        '
    file = static.File(b'.')
    self.assertEqual(file.ignoredExts, [])
    file.ignoreExt('.foo')
    file.ignoreExt('.bar')
    self.assertEqual(file.ignoredExts, ['.foo', '.bar'])
    file = static.File(b'.', ignoredExts=('.bar', '.baz'))
    self.assertEqual(file.ignoredExts, ['.bar', '.baz'])