Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • concrexit concrexit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 70
    • Issues 70
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • thalia
  • concrexitconcrexit
  • Issues
  • #589

Closed
Open
Created Feb 13, 2018 by Thom Wiggers@twiggers📐Contributor

Documents tests fail to close a file handle.

One-sentence description

Documents tests fail to close a file handle.

Current behaviour

./home/thom/git/thalia/concrexit/.tox/py36-django20/lib/python3.6/site-packages/django/db/models/query.py:195: ResourceWarning: unclosed file <_io.FileIO name='/home/thom/git/thalia/concrexit/website/media/documents/file_nl_CwarPQj.pdf' mode='rb' closefd=True>

Expected behaviour

No warning

Steps to reproduce

  1. tox
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking