-
Notifications
You must be signed in to change notification settings - Fork 140
Closed
Labels
Description
I'm facing the following exception when executing my tests:
File "ve/lib/python2.7/site-packages/django/test/runner.py", line 115, in run_suite
).run(suite)
File "ve/lib/python2.7/site-packages/xmlrunner/runner.py", line 59, in run
test(result)
File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/suite.py", line 70, in __call__
return self.run(*args, **kwds)
File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/suite.py", line 108, in run
test(result)
File "ve/lib/python2.7/site-packages/django/test/testcases.py", line 184, in __call__
result.addError(self, sys.exc_info())
File "ve/lib/python2.7/site-packages/xmlrunner/result.py", line 207, in addError
self._save_output_data()
File "ve/lib/python2.7/site-packages/xmlrunner/result.py", line 164, in _save_output_data
self._stdout_data = sys.stdout.getvalue()
AttributeError: 'file' object has no attribute 'getvalue'