Merge lp:~dobey/dirspec/python3 into lp:dirspec
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | dobey on 2012-07-13 | ||||
| Approved revision: | 14 | ||||
| Merged at revision: | 10 | ||||
| Proposed branch: | lp:~dobey/dirspec/python3 | ||||
| Merge into: | lp:dirspec | ||||
| Diff against target: |
561 lines (+120/-106) 8 files modified
dirspec/basedir.py (+17/-13) dirspec/tests/__init__.py (+24/-3) dirspec/tests/test_basedir.py (+19/-31) dirspec/tests/test_utils.py (+24/-34) dirspec/utils.py (+25/-13) run-tests (+7/-0) run-tests.bat (+2/-10) setup.py (+2/-2) |
||||
| To merge this branch: | bzr merge lp:~dobey/dirspec/python3 | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Mike McCracken (community) | Approve on 2012-07-13 | ||
| Diego Sarmentero (community) | 2012-07-12 | Approve on 2012-07-13 | |
|
Review via email:
|
|||
Commit Message
Port to Python 3
Description of the Change
As this adds python3 support, and runs the tests with python3, you'll also need python3-setuptools and python3-testtools installed. There's no python3-testtools in precise, so you'll need to install it from our nightlies PPA, to run the tests.
| Diego Sarmentero (diegosarmentero) wrote : | # |
=======
FAIL: test_darwin_pkgd (dirspec.
dirspec.
-------
_StringException: Traceback (most recent call last):
File "x:\dirspec-
self.
MismatchError: !=:
reference = u'x:\\dirspec-
actual = u'x:\\dirspec-
=======
FAIL: test_linux_
dirspec.
-------
_StringException: Traceback (most recent call last):
File "x:\dirspec-
self.
MismatchError: u'/path/
=======
FAIL: test_unfrozen_
dirspec.
-------
_StringException: Traceback (most recent call last):
File "x:\dirspec-
self.
MismatchError: u'/path/
-------
Ran 32 tests in 0.053s
FAILED (failures=3, skipped=2)
| Diego Sarmentero (diegosarmentero) wrote : | # |
+1 tests passing on windows, linux, mac

+1 looks good and all the tests are ok