Hello! We are running our annual fundraising. Please consider making a donation if you value this freely available service or want to support people around the world working towards liberatory social change. https://riseup.net/donate.

Commit 893faa66 authored by jvoisin's avatar jvoisin
Browse files

Fix a test for png's lightweight cleaning on corrupted files

parent 4483c06f
......@@ -194,10 +194,9 @@ class TestCorruptedFiles(unittest.TestCase):
def test_png_lightweight(self):
shutil.copy('./tests/data/dirty.torrent', './tests/data/clean.png')
p = images.PNGParser('./tests/data/clean.png')
with self.assertRaises(ValueError):
p = images.PNGParser('./tests/data/clean.png')
def test_avi(self):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment