Add python3 support
This commit is contained in:
+3
-3
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user