Skip to content

Commit 4ffcd59

Browse files
committed
update test for upstream added gzip extensions
1 parent 3794a39 commit 4ffcd59

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test/python_magic_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def test_extension(self):
134134
self.assert_values(m, {
135135
# some versions return '' for the extensions of a gz file,
136136
# including w/ the command line. Who knows...
137-
'test.gz': ('gz/tgz/tpz/zabw/svgz', '', '???'),
137+
'test.gz': ('gz/tgz/tpz/zabw/svgz/adz/kmy/xcfgz', 'gz/tgz/tpz/zabw/svgz', '', '???'),
138138
'name_use.jpg': 'jpeg/jpg/jpe/jfif',
139139
})
140140
except NotImplementedError:
@@ -227,6 +227,5 @@ def test_pathlike(self):
227227
m = magic.Magic(mime=True)
228228
self.assertEqual('application/pdf', m.from_file(path))
229229

230-
231230
if __name__ == '__main__':
232231
unittest.main()

0 commit comments

Comments
 (0)