Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Issue 6690034: Add more python 2.5 compatibility. (Closed)

Created:
9 years, 8 months ago by M-A Ruel
Modified:
9 years, 7 months ago
Reviewers:
Dirk Pranke
CC:
chromium-reviews, Dirk Pranke, M-A Ruel
Visibility:
Public.

Description

Add more python 2.5 compatibility. Makes all the tests runnable on python 2.5. R=dpranke@chromium.org BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=80068

Patch Set 1 #

Total comments: 2

Patch Set 2 : Don't force python 2.5 anymore (to be done in a separate change) #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -29 lines) Patch
M subprocess2.py View 1 chunk +1 line, -0 lines 0 comments Download
M tests/fake_repos.py View 1 6 chunks +8 lines, -6 lines 0 comments Download
M tests/filesystem_mock.py View 1 2 chunks +1 line, -1 line 0 comments Download
M tests/fix_encoding_test.py View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/gcl_unittest.py View 1 1 chunk +2 lines, -2 lines 0 comments Download
M tests/gclient_scm_test.py View 1 1 chunk +2 lines, -2 lines 0 comments Download
M tests/gclient_smoketest.py View 1 1 chunk +2 lines, -2 lines 0 comments Download
M tests/gclient_utils_test.py View 1 1 chunk +2 lines, -2 lines 0 comments Download
M tests/owners_unittest.py View 1 1 chunk +5 lines, -1 line 1 comment Download
M tests/presubmit_unittest.py View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/scm_unittest.py View 1 2 chunks +8 lines, -3 lines 0 comments Download
M tests/super_mox.py View 1 1 chunk +1 line, -2 lines 0 comments Download
M tests/trial_dir.py View 1 1 chunk +2 lines, -2 lines 0 comments Download
M tests/trychange_unittest.py View 1 1 chunk +2 lines, -2 lines 0 comments Download
M tests/watchlists_unittest.py View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
M-A Ruel
9 years, 8 months ago (2011-03-31 01:50:13 UTC) #1
Dirk Pranke
I don't think this is a good change to make. I don't think the tests ...
9 years, 8 months ago (2011-03-31 19:07:44 UTC) #2
M-A Ruel
On 2011/03/31 19:07:44, Dirk Pranke wrote: > I don't think this is a good change ...
9 years, 8 months ago (2011-03-31 19:14:47 UTC) #3
Dirk Pranke
On Thu, Mar 31, 2011 at 12:14 PM, <maruel@chromium.org> wrote: > On 2011/03/31 19:07:44, Dirk ...
9 years, 8 months ago (2011-03-31 19:21:18 UTC) #4
M-A Ruel
Le 31 mars 2011 15:21, Dirk Pranke <dpranke@chromium.org> a écrit : > On Thu, Mar ...
9 years, 8 months ago (2011-03-31 19:23:22 UTC) #5
M-A Ruel
I'll make the dynamic switching in another change.
9 years, 8 months ago (2011-03-31 20:20:16 UTC) #6
Dirk Pranke
9 years, 8 months ago (2011-03-31 20:33:01 UTC) #7
LGTM with the one nit.

http://codereview.chromium.org/6690034/diff/3002/tests/owners_unittest.py
File tests/owners_unittest.py (right):

http://codereview.chromium.org/6690034/diff/3002/tests/owners_unittest.py#new...
tests/owners_unittest.py:12: sys.path.insert(0,
os.path.dirname(os.path.dirname(__file__)))
I'm still not fond of this. Can you add a TODO somewhere to make this
unnecessary?

Powered by Google App Engine
This is Rietveld 408576698