aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2015-12-19 19:29:51 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2015-12-19 19:29:51 +0800
commitdb2fe38b5508cbd28b89893219d9cccd41406851 (patch)
tree3c7d03cafd8f578c3c7c380321c88f2f5142b0d1 /test
parentd631d5f9f27f93767226192e4288990413fa9dbd (diff)
[utils] Support alternative timestamp format in TTML
Fixes #7608
Diffstat (limited to 'test')
-rw-r--r--test/test_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_utils.py b/test/test_utils.py
index 86045e680..e4e8d3825 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -667,6 +667,7 @@ ffmpeg version 2.4.4 Copyright (c) 2000-2014 the FFmpeg ...'''), '2.4.4')
self.assertEqual(parse_dfxp_time_expr('0.1s'), 0.1)
self.assertEqual(parse_dfxp_time_expr('00:00:01'), 1.0)
self.assertEqual(parse_dfxp_time_expr('00:00:01.100'), 1.1)
+ self.assertEqual(parse_dfxp_time_expr('00:00:01:100'), 1.1)
def test_dfxp2srt(self):
dfxp_data = '''<?xml version="1.0" encoding="UTF-8"?>