-
Notifications
You must be signed in to change notification settings - Fork 581
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
TextLintBearTest: Close opened test files properly #2048
Comments
In above file, load_testfile() needs to be changed, and changed it. Add another function called close_testfile() to close the file Closes : coala#2048
fix the syntax error changed the close_file Closes : coala#2048
In above file, load_testfile() needs to be changed, and changed it. Add another function called close_testfile() to close the file and try to avoid gitmate-bot complains Fixes coala#2048
@Makman2 I think this can be kept up for grabs again! 😀 (Unassigned due to inactivity) |
Unassigning due to inactivity. |
Re-assign. Close the PR before unassigning. |
Haven't seen the PR^^ (thought just commits were done without a PR) |
Hey, @akspr7 if you are not working on this issue anymore I would like to take this issue. |
Oh you already have a |
Okay :) |
Hey @Makman2 I am new to coala and I want to work on this issue. |
can you guys assign this to me ? |
@Subhash-Saurabh please accept the invitation. @pavankoushik22 as @Subhash-Saurabh was first, please pick another issue :) |
@Makman2 I have accepted the invitation . Can you now assign me this issue. |
Implemented closing the file by using a with context. Fixes coala#2048
Implemented closing the file by using a with context. Fixes coala#2048
Implemented closing the file by using a with context. Closes coala#2048
Implemented closing the file by using a with context. Closes coala#2048
Implemented closing the file by using a with context. Closes coala#2048
py.test gives warnings on https://circleci.com/gh/coala/coala-bears/7126 like
To not rely on ref-counting for object destruction (which isn't anyway an official feature in Python to allow custom destructors), we should close the file manually by using a with-context:
The text was updated successfully, but these errors were encountered: