From d8d94da25074e9f5976de12550533bf8859c1f7e Mon Sep 17 00:00:00 2001 From: Kongqun Yang Date: Fri, 9 Dec 2016 14:08:56 -0800 Subject: [PATCH] Fix packager_test break in Windows Change-Id: Id43e4bd0e2067fd9ad74f8c5c60df7ddba75e840 --- packager/app/test/packager_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packager/app/test/packager_test.py b/packager/app/test/packager_test.py index d6e3655b3d..3376336711 100755 --- a/packager/app/test/packager_test.py +++ b/packager/app/test/packager_test.py @@ -39,8 +39,8 @@ class PackagerAppTest(unittest.TestCase): def testVersion(self): self.assertRegexpMatches( - self.packager.Version(), '^packager version ' - r'((?P[\w\.]+)-)?(?P[a-f\d]+)-(debug|release)\n.*$') + self.packager.Version(), '^packager(.exe)? version ' + r'((?P[\w\.]+)-)?(?P[a-f\d]+)-(debug|release)[\r\n]+.*$') def testDumpStreamInfo(self): test_file = os.path.join(self.test_data_dir, 'bear-640x360.mp4')