]> jfr.im git - z_archive/twitter.git/commit
Fix ResourceWarning on read_bearer_toke_file func
authorCristovao Verstraeten <redacted>
Tue, 15 Mar 2016 21:39:32 +0000 (22:39 +0100)
committerCristovao Verstraeten <redacted>
Tue, 15 Mar 2016 21:39:32 +0000 (22:39 +0100)
commit1ff6a3a01493e95953d6f3c4697af628a2142ceb
treed0c651686f514683ae16f64e5f1e513b5e92bc9f
parent489299c87b4b368d92db92c83a8debe549e5a3be
Fix ResourceWarning on read_bearer_toke_file func

This should fix the following warning when doing a unit test: ResourceWarning: unclosed file <_io.TextIOWrapper name='bearer_token' mode='r' encoding='cp1252'>
twitter/oauth2.py