author | Nick Alexander <nalexander@mozilla.com> |
Mon, 06 Oct 2014 12:38:12 -0700 | |
changeset 232278 | e17d2378aa66400f93ac37325c35cfd23d941636 |
parent 232277 | 1c61b9e3686971e92f4ca64d7b3ba6ae325cba8b |
child 232279 | 8f1758ce53f05216f35ab9720d4db3782623225e |
push id | 4187 |
push user | bhearsum@mozilla.com |
push date | Fri, 28 Nov 2014 15:29:12 +0000 |
treeherder | mozilla-beta@f23cc6a30c11 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | me |
bugs | 1077381 |
milestone | 35.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
python/mozbuild/mozbuild/test/action/test_generate_browsersearch.py | file | annotate | diff | comparison | revisions |
--- a/python/mozbuild/mozbuild/test/action/test_generate_browsersearch.py +++ b/python/mozbuild/mozbuild/test/action/test_generate_browsersearch.py @@ -27,17 +27,17 @@ test_data_path = mozpath.join(test_data_ class TestGenerateBrowserSearch(unittest.TestCase): """ Unit tests for generate_browsersearch.py. """ def _test_one(self, name): with TemporaryDirectory() as tmpdir: - with NamedTemporaryFile(mode='rw') as temp: + with NamedTemporaryFile(mode='r+') as temp: srcdir = os.path.join(test_data_path, name) generate_browsersearch.main([ '--verbose', '--srcdir', srcdir, temp.name]) return json.load(temp)