kennethreitz/tablib — pull request #137 by ecarreras (2014-01-23 17:17:29+00:00)
Title: Use InvalidFileException to fix the test

```
python test_tablib.py
......E.....................................
======================================================================
ERROR: test_auto_format_detect (__main__.TablibTestCase)
Test auto format detection.
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_tablib.py", line 503, in test_auto_format_detect
self.assertEqual(tablib.detect(_bunk)[0], None)
File "/home/eduard/Projectes/tablib/tablib/core.py", line 996, in detect
if fmt.detect(stream):
File "/home/eduard/Projectes/tablib/tablib/formats/_xlsx.py", line 31, in detect
openpyxl.reader.excel.load_workbook(stream)
File "/home/eduard/Projectes/tablib/tablib/packages/openpyxl/reader/excel.py", line 70, in load_workbook
raise InvalidFileException()
InvalidFileException

----------------------------------------------------------------------
Ran 44 tests in 0.051s

FAILED (errors=1)
```