Traceback (most recent call last):

 "/usr/lib/python3.6/site-packages/spyder/widgets/helperwidgets.py", line 127, in paint
textRect = style.subElementRect(QStyle.SE_ItemViewItemText, options)TypeError: subElementRect(self, QStyle.SubElement, QStyleOption, QWidget): not enough arguments
Traceback (most recent call last):

 "venv/tmp-3df855023475e3d1/bin/py.test", line 9, in <module>
load_entry_point('pytest==2.5.2', 'console_scripts', 'py.test')()

 "venv/tmp-3df855023475e3d1/local/lib/python2.7/site-packages/_pytest/config.py", line 19, in main
config = _prepareconfig(args, plugins)

 "venv/tmp-3df855023475e3d1/local/lib/python2.7/site-packages/_pytest/config.py", line 63, in _prepareconfig
pluginmanager=pluginmanager, args=args)

 "venv/tmp-3df855023475e3d1/local/lib/python2.7/site-packages/_pytest/core.py", line 377, in __call__
return self._docall(methods, kwargs)

 "venv/tmp-3df855023475e3d1/local/lib/python2.7/site-packages/_pytest/core.py", line 388, in _docall
res = mc.execute()

 "venv/tmp-3df855023475e3d1/local/lib/python2.7/site-packages/_pytest/core.py", line 289, in execute
res = method(**kwargs)

 "venv/tmp-3df855023475e3d1/local/lib/python2.7/site-packages/_pytest/helpconfig.py", line 27, in pytest_cmdline_parse
config = __multicall__.execute()

 "venv/tmp-3df855023475e3d1/local/lib/python2.7/site-packages/_pytest/core.py", line 289, in execute
res = method(**kwargs)

 "venv/tmp-3df855023475e3d1/local/lib/python2.7/site-packages/_pytest/config.py", line 618, in pytest_cmdline_parse
self.parse(args)

 "venv/tmp-3df855023475e3d1/local/lib/python2.7/site-packages/_pytest/config.py", line 711, in parse
self._preparse(args)

 "venv/tmp-3df855023475e3d1/local/lib/python2.7/site-packages/_pytest/config.py", line 691, in _preparse
args=args, parser=self._parser)

 "venv/tmp-3df855023475e3d1/local/lib/python2.7/site-packages/_pytest/core.py", line 377, in __call__
return self._docall(methods, kwargs)

 "venv/tmp-3df855023475e3d1/local/lib/python2.7/site-packages/_pytest/core.py", line 388, in _docall
res = mc.execute()

 "venv/tmp-3df855023475e3d1/local/lib/python2.7/site-packages/_pytest/core.py", line 289, in execute
res = method(**kwargs)

 "venv/tmp-3df855023475e3d1/local/lib/python2.7/site-packages/_pytest/capture.py", line 83, in pytest_load_initial_conftests
return __multicall__.execute()

 "venv/tmp-3df855023475e3d1/local/lib/python2.7/site-packages/_pytest/core.py", line 289, in execute
res = method(**kwargs)

 "venv/tmp-3df855023475e3d1/local/lib/python2.7/site-packages/_pytest/config.py", line 674, in pytest_load_initial_conftests
self._conftest.setinitial(args)

 "venv/tmp-3df855023475e3d1/local/lib/python2.7/site-packages/_pytest/config.py", line 487, in setinitial
self._try_load_conftest(anchor)

 "venv/tmp-3df855023475e3d1/local/lib/python2.7/site-packages/_pytest/config.py", line 493, in _try_load_conftest
self._path2confmods[None] = self.getconftestmodules(anchor)

 "venv/tmp-3df855023475e3d1/local/lib/python2.7/site-packages/_pytest/config.py", line 512, in getconftestmodules
clist.append(self.importconftest(conftestpath))

 "venv/tmp-3df855023475e3d1/local/lib/python2.7/site-packages/_pytest/config.py", line 538, in importconftest
self._conftestpath2mod[conftestpath] = mod = conftestpath.pyimport()

 "venv/tmp-3df855023475e3d1/local/lib/python2.7/site-packages/py/_path/local.py", line 620, in pyimport
__import__(modname)

 "…/pytest_django/tests/conftest.py", line 14, in <module>
from django.conf import settingsImportError: No module named django.conf