mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-25 01:16:14 +01:00
b787ca2b39
There are many places can't be covered by 2to3, especially the str/unicode -> str/bytes change done in python3. This is a big patch incorporating all changes made in order to make python3 suite.py run without any single failure. It * adapt the introspect_handler_3 for case there are no __defaults__ * adds the ET_ENCODING variable for ET.fromstring ("unicode" in py3, "utf-8" in py2) * (re)adds various builtins to both python versions - memoryview to python 2.6 - bytes compatible with py3 to 2.6 and 2.7 and it changes few parts of tests/common.py in order to be compatible with python3 * new urlcompare method compares all components or url + parsed query string in a dictionary, so the ordering, neither quoting does not matter * bytes builtin has been added to 2.x and used in assertEqualMultiline |
||
---|---|---|
.. | ||
addfile_fixtures | ||
commit_fixtures | ||
deletefile_fixtures | ||
difffile_fixtures | ||
init_package_fixtures | ||
init_project_fixtures | ||
prdiff_fixtures | ||
project_package_status_fixtures | ||
repairwc_fixtures | ||
request_fixtures | ||
revertfile_fixtures | ||
setlinkrev_fixtures | ||
update_fixtures | ||
common.py | ||
osc | ||
suite.py | ||
test_addfiles.py | ||
test_commit.py | ||
test_deletefiles.py | ||
test_difffiles.py | ||
test_init_package.py | ||
test_init_project.py | ||
test_package_status.py | ||
test_prdiff.py | ||
test_project_status.py | ||
test_repairwc.py | ||
test_request.py | ||
test_revertfiles.py | ||
test_setlinkrev.py | ||
test_update.py |