Merge lp:~allenap/maas-test/onwards-python into lp:maas-test
Proposed by
Gavin Panella
Status: | Work in progress |
---|---|
Proposed branch: | lp:~allenap/maas-test/onwards-python |
Merge into: | lp:maas-test |
Prerequisite: | lp:~allenap/maas-test/use-system-packages |
Diff against target: |
205 lines (+3/-79) 11 files modified
Makefile (+1/-1) maastest/__init__.py (+1/-9) maastest/kvmfixture.py (+0/-7) maastest/main.py (+0/-7) maastest/prepare.py (+0/-9) maastest/tests/test_kvmfixture.py (+1/-8) maastest/tests/test_main.py (+0/-7) maastest/tests/test_prepare.py (+0/-9) maastest/tests/test_utils.py (+0/-7) maastest/utils.py (+0/-7) setup.py (+0/-8) |
To merge this branch: | bzr merge lp:~allenap/maas-test/onwards-python |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
MAAS Maintainers | Pending | ||
Review via email: mp+194756@code.launchpad.net |
Commit message
Switch to Python 3.
To post a comment you must log in.
Unmerged revisions
- 30. By Gavin Panella
-
Merge trunk.
- 29. By Gavin Panella
-
Merge trunk.
- 28. By Gavin Panella
-
Merge trunk, resolving conflicts.
- 27. By Gavin Panella
-
Merge trunk, resolving conflicts.
- 26. By Gavin Panella
-
Remove some merge artifacts.
- 25. By Gavin Panella
-
Merge trunk, fixing many conflicts.
- 24. By Gavin Panella
-
Merge trunk, fixing various things.
- 23. By Gavin Panella
-
Merge use-system-
packages. - 22. By Gavin Panella
-
Merge use-system-
packages. - 21. By Gavin Panella
-
Switch to assertRegex.
This all went fairly smoothly. We don't have to land this now, if we're not sure we can see it through to the end (i.e. if porting the integration tests is going to be too yak-shavey), but it's interested to see nonetheless.
There were only a couple of classes of error in our Python 2 code: assuming map() returns a list, and a few comparisons between unicode and byte strings. This is quite encouraging, because they're easy things to spot and fix.