Port to Python 3
This should make all tests pass on both Python 2 and Python 3. Unittest2 is required on Py 2.6 and Py 3. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
3088df8e60
commit
ed22e07ef9
50 changed files with 203 additions and 208 deletions
|
|
@ -34,6 +34,9 @@ class MockPkg(object):
|
|||
def __repr__(self):
|
||||
return self.nvr
|
||||
|
||||
def __lt__(self, another):
|
||||
return self.nvr < another.nvr
|
||||
|
||||
|
||||
def _join(a, *rest):
|
||||
res = copy.deepcopy(a)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue