| Index: grit/format/rc_unittest.py
|
| diff --git a/grit/format/rc_unittest.py b/grit/format/rc_unittest.py
|
| index d8094aa75d10f0d981c51fdbdd430597f0f87f72..c255856b800dc787c7bfc8a661f0343a65f66a93 100644
|
| --- a/grit/format/rc_unittest.py
|
| +++ b/grit/format/rc_unittest.py
|
| @@ -276,27 +276,5 @@ BEGIN
|
| END''')
|
|
|
|
|
| - def testRelativePath(self):
|
| - ''' Verify that _MakeRelativePath works in some tricky cases.'''
|
| - def TestRelativePathCombinations(base_path, other_path, expected_result):
|
| - ''' Verify that the relative path function works for
|
| - the given paths regardless of whether or not they end with
|
| - a trailing slash.'''
|
| - for path1 in [base_path, base_path + os.path.sep]:
|
| - for path2 in [other_path, other_path + os.path.sep]:
|
| - result = rc._MakeRelativePath(path1, path2)
|
| - self.failUnless(result == expected_result)
|
| -
|
| - # set-up variables
|
| - root_dir = 'c:%sa' % os.path.sep
|
| - result1 = '..%sabc' % os.path.sep
|
| - path1 = root_dir + 'bc'
|
| - result2 = 'bc'
|
| - path2 = '%s%s%s' % (root_dir, os.path.sep, result2)
|
| - # run the tests
|
| - TestRelativePathCombinations(root_dir, path1, result1)
|
| - TestRelativePathCombinations(root_dir, path2, result2)
|
| -
|
| -
|
| if __name__ == '__main__':
|
| unittest.main()
|
|
|