aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorFilippo Valsorda <filippo.valsorda@gmail.com>2012-11-27 23:20:32 +0100
committerFilippo Valsorda <filippo.valsorda@gmail.com>2012-11-27 23:20:32 +0100
commitc63cc10ffaeb2e5ab20b78f871bef8ca5492c78c (patch)
tree7fdc38bc0ddb01116af18b7f6ff567803513b457 /test
parentf462df021a881c406afefc62bbf905ea582700ea (diff)
parent1a84d8675b4417ca9adf40bb12325c728767896a (diff)
Merge remote-tracking branch 'origin/master' into IE_cleanup
Conflicts: youtube_dl/FileDownloader.py
Diffstat (limited to 'test')
-rw-r--r--test/test_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_utils.py b/test/test_utils.py
index e7d4e0330..a3a23fbb4 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -56,7 +56,7 @@ class TestUtil(unittest.TestCase):
self.assertEqual(sanitize_filename(u'aäb中国的c', restricted=True), u'a_b_c')
self.assertTrue(sanitize_filename(u'ö', restricted=True) != u'') # No empty filename
- forbidden = u'"\0\\/&: \'\t\n'
+ forbidden = u'"\0\\/&!: \'\t\n'
for fc in forbidden:
for fbc in forbidden:
self.assertTrue(fbc not in sanitize_filename(fc, restricted=True))