diff options
Diffstat (limited to 'WebKitTools/Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py')
-rw-r--r-- | WebKitTools/Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/WebKitTools/Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py b/WebKitTools/Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py index c4c885d..e60c274 100644 --- a/WebKitTools/Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py +++ b/WebKitTools/Scripts/webkitpy/layout_tests/port/google_chrome_unittest.py @@ -28,7 +28,8 @@ import codecs import os import unittest -import base_unittest +from webkitpy.common import newstringio + import factory import google_chrome @@ -77,7 +78,7 @@ class GetGoogleChromePortTest(unittest.TestCase): def mock_open(path, mode, encoding): if 'test_expectations_chrome.txt' in path: - return base_unittest.NewStringIO(expected_string) + return newstringio.StringIO(expected_string) return orig_open(path, mode, encoding) try: |