-
Notifications
You must be signed in to change notification settings - Fork 69
Closed
Description
Hi there,
I am using scraperwiki due to its pdftoxml function, which is quite handy. However, when running some custom tests that depend on this function, I end up greeted with the following stacktrace right after my tests pass:
Error in sys.exitfunc:
Traceback (most recent call last):
File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/home/path/to/virtualenv/local/lib/python2.7/site-packages/scraperwiki/sql.py", line 126, in commit_transactions
if _State._transaction is not None:
AttributeError: 'NoneType' object has no attribute '_transaction'
I am not using any of the SQL-related functions in my test files. How is it that the _State class is None in a file-context function (commit_transactions)?
Metadata
Metadata
Assignees
Labels
No labels