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

Test is leaving an open file behind and generating warnings #30

alfredodeza opened this Issue Dec 10, 2015 · 0 comments


None yet
2 participants
Copy link

alfredodeza commented Dec 10, 2015

Should be pretty easy to fix, will get a PR for this:

test_format_line_context (pecan.tests.test_templating.TestTemplateLineFormat) ... /Users/alfredo/python/pecan/pecan/ ResourceWarning: unclosed file <_io.TextIOWrapper name='/var/folders/t8/smzdykh12h39f8r0vwv5vzf00000gn/T/tmp0qtwsa' mode='r' encoding='UTF-8'>
  lines = open(filename).readlines()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment