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

Parse fails for triple quotes in assert #19

Closed
pytestbot opened this issue Jan 16, 2011 · 2 comments
Closed

Parse fails for triple quotes in assert #19

pytestbot opened this issue Jan 16, 2011 · 2 comments
Labels
type: bug problem that needs to be addressed

Comments

@pytestbot
Copy link
Contributor

Originally reported by: Henrik Vendelbo (BitBucket: thepian, GitHub: thepian)


I have a test run for a PyPy builtin module that asserts a multiline string.

assert text == """
...
""" % info

Running the test fails in this form parsing the test source, but when separating the expected string into a variable avoids the failure.

Failure output:
http://pastebin.com/LuiQjh96

The test:
https://bitbucket.org/thepian/meshed/src/a2ad762bbf05/pypy/module/installation/test/test_execute.py


@pytestbot
Copy link
Contributor Author

Original comment by holger krekel (BitBucket: hpk42, GitHub: hpk42):


This problem is not there for plain py.test because it treats comparing multiline strings differently anyway. PyPy still uses 1.3.4 however. We have to see if this problem persists when py.test version is updated in pypy.

@pytestbot
Copy link
Contributor Author

Original comment by holger krekel (BitBucket: hpk42, GitHub: hpk42):


pytest has been updated in pypy - i am closing this issue unless you say the problem is still there.

@pytestbot pytestbot added the type: bug problem that needs to be addressed label Jun 15, 2015
fkohlgrueber pushed a commit to fkohlgrueber/pytest that referenced this issue Oct 27, 2018
mgorny pushed a commit to mgorny/pytest that referenced this issue May 27, 2023
selecting the browser to use from SELENIUM_BROWSER env var.
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
Projects
None yet
Development

No branches or pull requests

1 participant