diff options
author | Philipp Hagemeister <[email protected]> | 2015-02-03 10:58:28 +0100 |
---|---|---|
committer | Philipp Hagemeister <[email protected]> | 2015-02-03 10:58:28 +0100 |
commit | 9bb8e0a3f9276f65de38cda431bf72f7bd266693 (patch) | |
tree | e7e6d9d96a107d4ac28338c58ad9a8bce98e6097 /test | |
parent | 1a6373ef3960add0117f797e0afe3322352c1c52 (diff) | |
download | youtube-dl-9bb8e0a3f9276f65de38cda431bf72f7bd266693.tar.gz youtube-dl-9bb8e0a3f9276f65de38cda431bf72f7bd266693.zip |
[wsj] Add new extractor (Fixes #4854)
Diffstat (limited to 'test')
-rw-r--r-- | test/test_utils.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_utils.py b/test/test_utils.py index 0ffccd35f..80c765bc4 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -156,6 +156,9 @@ class TestUtil(unittest.TestCase): self.assertEqual( unified_strdate('11/26/2014 11:30:00 AM PST', day_first=False), '20141126') + self.assertEqual( + unified_strdate('2/2/2015 6:47:40 PM', day_first=False), + '20150202') def test_find_xpath_attr(self): testxml = '''<root> |