Skip to content

pathutils unittest fails for testAppendPathComponent #2

@kinghuang

Description

@kinghuang
FAIL: testAppendPathComponent (rules.tests.test_pathutils.PathUtilsPathComponentTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "inference-rules/rules/tests/test_pathutils.py", line 101, in testAppendPathComponent
    self._testFunctionWithData(pathutils.appendPathComponent, data, exp=True)
  File "inference-rules/rules/tests/test_pathutils.py", line 10, in _testFunctionWithData
    self.assertEqual(result, expectedResult, '%s != %s (%s)' % (repr(result), repr(expectedResult), args))
AssertionError: 'a/b//c' != 'a/b/c'
- a/b//c
?     -
+ a/b/c
 : 'a/b//c' != 'a/b/c' (('a/b', '//c'))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions