aboutsummaryrefslogtreecommitdiff
path: root/test/test_write_annotations.py
diff options
context:
space:
mode:
authorJakub Wilk <jwilk@jwilk.net>2016-01-10 16:17:47 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2016-01-10 17:24:28 +0100
commitdfb1b1468cef4ddc7ecc43776abce03763f8e426 (patch)
treefbd8d76f3c9a04d999f5b0853b25deacfe715f31 /test/test_write_annotations.py
parent3c91e41614a0f3bfab8710e861c895b78d93bce8 (diff)
downloadyoutube-dl-dfb1b1468cef4ddc7ecc43776abce03763f8e426.tar.xz
Fix typos
Closes #8200.
Diffstat (limited to 'test/test_write_annotations.py')
-rw-r--r--test/test_write_annotations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_write_annotations.py b/test/test_write_annotations.py
index 84b8f39e0..8de08f2d6 100644
--- a/test/test_write_annotations.py
+++ b/test/test_write_annotations.py
@@ -66,7 +66,7 @@ class TestAnnotations(unittest.TestCase):
textTag = a.find('TEXT')
text = textTag.text
self.assertTrue(text in expected) # assertIn only added in python 2.7
- # remove the first occurance, there could be more than one annotation with the same text
+ # remove the first occurrence, there could be more than one annotation with the same text
expected.remove(text)
# We should have seen (and removed) all the expected annotation texts.
self.assertEqual(len(expected), 0, 'Not all expected annotations were found.')