diff options
Diffstat (limited to 'tests/staticfiles_tests/cases.py')
| -rw-r--r-- | tests/staticfiles_tests/cases.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/staticfiles_tests/cases.py b/tests/staticfiles_tests/cases.py index ea746164a6..24de4e029e 100644 --- a/tests/staticfiles_tests/cases.py +++ b/tests/staticfiles_tests/cases.py @@ -23,7 +23,7 @@ class BaseStaticFilesMixin: ) def assertFileNotFound(self, filepath): - with self.assertRaises(IOError): + with self.assertRaises(OSError): self._get_file(filepath) def render_template(self, template, **kwargs): |
