Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unit test fails #8

Open
fzhcary opened this issue Apr 23, 2018 · 0 comments
Open

unit test fails #8

fzhcary opened this issue Apr 23, 2018 · 0 comments

Comments

@fzhcary
Copy link

fzhcary commented Apr 23, 2018

when run "python setup.py test", 7 test case passed, but 1 failed. I think it is due the windows separator being '' instead of '/', detailed message here

_______________________ test_get_path_from_package_name _______________________

def test_get_path_from_package_name():

    func = pycycle.utils.get_path_from_package_name
  assert func('/test/one/two', 'some.package') == '/test/one/two/some/package.py'

E AssertionError: assert '/test/one/tw...e\package.py' == '/test/one/two/some/package.py'
E - /test/one/two\some\package.py
E ? ^ ^
E + /test/one/two/some/package.py
E ? ^ ^

test_pycycle.py:12: AssertionError
===================== 1 failed, 7 passed in 0.27 seconds ======================

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant