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

Parameterized test with a bytes value raises an exception on teardown #3157

Closed
thedrow opened this issue Jan 27, 2018 · 2 comments
Closed

Parameterized test with a bytes value raises an exception on teardown #3157

thedrow opened this issue Jan 27, 2018 · 2 comments
Labels
type: bug problem that needs to be addressed type: infrastructure improvement to development/releases/CI structure

Comments

@thedrow
Copy link

thedrow commented Jan 27, 2018

The bug happens on Python 3.6. I'm using pytest 3.3.0.
You can see the traceback here.

I'm not able to reproduce this bug locally, probably due to a locale setting difference between my computer and Travis-CI.

The bug happens when a parameterized tests uses a bytes sequence as a parameter.

This is not a severe bug since adding an ids argument renames the tests.

@pytestbot pytestbot added the type: infrastructure improvement to development/releases/CI structure label Jan 27, 2018
@pytestbot pytestbot added the type: bug problem that needs to be addressed label Jan 27, 2018
@RonnyPfannschmidt
Copy link
Member

#2583 introduced it and fixed in #2957

@nicoddemus
Copy link
Member

@thedrow please update pytest and let us know if you still have this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug problem that needs to be addressed type: infrastructure improvement to development/releases/CI structure
Projects
None yet
Development

No branches or pull requests

4 participants