Close sample input file after reading it
Otherwise tests spit out: ResourceWarning: unclosed file <_io.TextIOWrapper name='/Users/pypt/Dropbox/etc-MediaCloud/python-readability/tests/samples/si-game.sample.html' mode='r' encoding='UTF-8'> return open(os.path.join(SAMPLES, filename)).read()pull/106/head
parent
bdb6d671d8
commit
63fbc36cb8
Loading…
Reference in New Issue