fnmatch: Disable bytes vs str mix tests. We're ok with mixes so far.

pull/118/head
Paul Sokolovsky 2014-05-10 00:40:44 +03:00
rodzic 666d235ab8
commit 8a15543698
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -44,7 +44,7 @@ class FnmatchTestCase(unittest.TestCase):
check('\nfoo', 'foo*', False)
check('\n', '*')
def test_mix_bytes_str(self):
def _test_mix_bytes_str(self):
self.assertRaises(TypeError, fnmatch, 'test', b'*')
self.assertRaises(TypeError, fnmatch, b'test', '*')
self.assertRaises(TypeError, fnmatchcase, 'test', b'*')