Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using rerun_filter causes INTERNALERROR #84

Closed
JMoravec opened this issue Dec 17, 2015 · 1 comment
Closed

Using rerun_filter causes INTERNALERROR #84

JMoravec opened this issue Dec 17, 2015 · 1 comment

Comments

@JMoravec
Copy link

With the new version and rerunning the setup, I was able to start using flaky. But when I added a rerun_filter to the tests, I get the following error

INTERNALERROR> TypeError: 'NoneType' object is not subscriptable

Some digging into it looks like the err param is being passed as None to the rerun filter method:

def is_not_video_error(err, *args):
    raise not issubclass(err[0], VideoProcessingException))

@flaky(rerun_filter=is_not_video_error)
class ...

Here's the full stack trace: http://pastebin.com/kY7nE8E8

Am i missing something in my code?

@Jeff-Meadows
Copy link
Contributor

Thanks for the report. I'll look into it this weekend!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants