Closed jdufresne closed 5 years ago
Fixes the following warning when Python warnings are enabled during tests:
setup.py:9: ResourceWarning: unclosed file <_io.TextIOWrapper name='README.rst' mode='r' encoding='UTF-8'> return open(os.path.join(os.path.dirname(__file__), "README.rst")).read()
To enable warnings, use the pass the -Walways argument to Python:
-Walways
https://docs.python.org/3/using/cmdline.html#cmdoption-w
Merged. Thanks.
Fixes the following warning when Python warnings are enabled during tests:
To enable warnings, use the pass the
-Walways
argument to Python:https://docs.python.org/3/using/cmdline.html#cmdoption-w