Add python3 support

This commit is contained in:
Safa Ariman
2019-06-06 01:31:19 +03:00
parent 68344a2d87
commit c90351220c
146 changed files with 806 additions and 1082 deletions
+3 -3
View File
@@ -27,9 +27,9 @@ class UtilTestCase(unittest.TestCase):
assert ['usr', 'lib', 'pardus'] == splitpath('usr/lib/pardus')
def testSubPath(self):
self.assert_(subpath('usr','usr'))
self.assert_(subpath('usr','usr/local/src'))
self.assert_(not subpath('usr/local','usr'))
self.assertTrue(subpath('usr','usr'))
self.assertTrue(subpath('usr','usr/local/src'))
self.assertTrue(not subpath('usr/local','usr'))
def testRemovePathPrefix(self):
pathname = removepathprefix('usr/local', 'usr/local/src')