-
Notifications
You must be signed in to change notification settings - Fork 27
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
Class converted to invalid code #51
Comments
It also changed this file:
to:
|
nedbat
added a commit
to nedbat/coveragepy
that referenced
this issue
Jan 31, 2021
unittest2pytest created syntax errors, reported here: pytest-dev/unittest2pytest#51 This commit fixes them back.
nedbat
added a commit
to nedbat/coveragepy
that referenced
this issue
Jan 31, 2021
unittest2pytest created syntax errors, reported here: pytest-dev/unittest2pytest#51 This commit fixes them back.
I also noticed this. Several issues:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One of my test files (https://github.com/nedbat/coveragepy/blob/coverage-5.4/tests/test_testing.py) was converted into invalid code. I don't know what it is about that file that caused it, though it is a bit twisty: it's a test of test assert helper methods.
Here is a stripped-down file that shows the same behavior:
Running
unittest2pytest -w test_testing.py
, the file becomes:The text was updated successfully, but these errors were encountered: