Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/home/sajid/packages/spack/opt/spack/linux-centos7-x86_64/gcc-7.3.0/python-2.7.14-qsmj5skc4e7rorg2ayxpkva4hhapwaw6/lib/python2.7/site-packages/pytest.py", line 9, in <module>

from _pytest.config import main, UsageError, cmdline, hookspec, hookimpl


 "/home/sajid/packages/spack/opt/spack/linux-centos7-x86_64/gcc-7.3.0/python-2.7.14-qsmj5skc4e7rorg2ayxpkva4hhapwaw6/lib/python2.7/site-packages/_pytest/config/__init__.py", line 18, in <module>

import _pytest.hookspec
# the extension point definitions


 "/home/sajid/packages/spack/opt/spack/linux-centos7-x86_64/gcc-7.3.0/python-2.7.14-qsmj5skc4e7rorg2ayxpkva4hhapwaw6/lib/python2.7/site-packages/_pytest/hookspec.py", line 27, in <module>

@hookspec(historic=True, warn_on_impl=PYTEST_NAMESPACE)
TypeError: __call__() got an unexpected keyword argument 'warn_on_impl'

Traceback (most recent call last):


 "/opt/openstates/venv-pupa//bin/pupa", line 11, in <module>

load_entry_point('pupa', 'console_scripts', 'pupa')()


 "/opt/openstates/venv-pupa/src/pupa/pupa/cli/__main__.py", line 68, in main

subcommands[args.subcommand].handle(args, other)


 "/opt/openstates/venv-pupa/src/pupa/pupa/cli/commands/update.py", line 278, in handle

return self.do_handle(args, other, juris)


 "/opt/openstates/venv-pupa/src/pupa/pupa/cli/commands/update.py", line 327, in do_handle

report['scrape'] = self.do_scrape(juris, args, scrapers)


 "/opt/openstates/venv-pupa/src/pupa/pupa/cli/commands/update.py", line 175, in do_scrape

report[scraper_name] = scraper.do_scrape(**scrape_args)


 "/opt/openstates/venv-pupa/src/pupa/pupa/scrape/base.py", line 112, in do_scrape

for obj in self.scrape(**kwargs) or []:


 "/opt/openstates/openstates/openstates/mi/bills.py", line 227, in scrape

bills = list(self.scrape_bill(chamber, session, bill_id))


 "/opt/openstates/openstates/openstates/mi/bills.py", line 154, in scrape_bill

result='pass' if len(results['yes']) > len(results['no']) else 'fail',
TypeError: 'NoneType' object is not subscriptable
