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

Use a simple +- ASCII string in the string representation of pytest.approx In Python 2 #2113

Merged

Conversation

nicoddemus
Copy link
Member

Fix #2111

@decentral1se
Copy link
Contributor

👍

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.0008%) to 92.832% when pulling 0f7f33d on nicoddemus:approx-repr-unicode into 5365f7c on pytest-dev:master.

""")
expected = '4.0e-06'
# for some reason in Python 2.6 it is not displaying the tolerance representation correctly
if sys.version_info[:2] == (2, 6):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strange, no idea why is that.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.0008%) to 92.832% when pulling a5dd73f on nicoddemus:approx-repr-unicode into 5365f7c on pytest-dev:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.0008%) to 92.832% when pulling 57c4489 on nicoddemus:approx-repr-unicode into 5365f7c on pytest-dev:master.

@RonnyPfannschmidt RonnyPfannschmidt merged commit 3c81f83 into pytest-dev:master Dec 5, 2016
@nicoddemus nicoddemus deleted the approx-repr-unicode branch December 5, 2016 12:05
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

Successfully merging this pull request may close these issues.

4 participants