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

Error while testing build of 0.1.1 #4

Closed
mucaho opened this issue Apr 13, 2017 · 2 comments
Closed

Error while testing build of 0.1.1 #4

mucaho opened this issue Apr 13, 2017 · 2 comments

Comments

@mucaho
Copy link

mucaho commented Apr 13, 2017

I get an AssertionError when trying to build on linux with node-semver@0.1.1.

running build_ext
============================= test session starts ==============================
platform linux -- Python 3.5.3, pytest-3.0.7, py-1.4.33, pluggy-0.4.0
rootdir: /tmp/nix-build-python3.5-node-semver-0.1.1.drv-0/node-semver-0.1.1, inifile: setup.cfg
collected 993 items

semver/tests/test_comparators.py ..................................................................
semver/tests/test_comparison.py ..................................................................................................................................................................................................................................................................................................
semver/tests/test_equality.py ..................................................................................................................................................................................................................................................................................................................................................................................
semver/tests/test_increment_version.py ...................................
semver/tests/test_invalid_version_number.py .....
semver/tests/test_max_satisfying.py ....
semver/tests/test_negative_range.py ....................................................F.
semver/tests/test_range.py .......................................................................................
semver/tests/test_recovery.py ...
semver/tests/test_strict_vs_loose_version_number.py .......
semver/tests/test_valid_range.py ........................................................................

=================================== FAILURES ===================================
______ test_it[git+https://user:password0123@github.com/foo-123.0.0-True] ______

range_ = 'git+https://user:password0123@github.com/foo', version = '123.0.0'
loose = True

    @pytest.mark.parametrize("range_, version, loose", cands)
    def test_it(range_, version, loose):
        from semver import satisfies
>       assert (not satisfies(version, range_, loose)) is True
E       AssertionError: assert not True is True
E        +  where True = <function satisfies at 0x7ffff1746d90>('123.0.0', 'git+https://user:password0123@github.com/foo', True)

semver/tests/test_negative_range.py:72: AssertionError
============================ pytest-warning summary ============================
WC1 None [pytest] section in setup.cfg files is deprecated, use [tool:pytest] instead.
=========== 1 failed, 992 passed, 1 pytest-warnings in 1.89 seconds ============
@podhmo
Copy link
Owner

podhmo commented Sep 13, 2017

ok. changed, next version hasn't fail test.

@podhmo podhmo closed this as completed Sep 13, 2017
@podhmo
Copy link
Owner

podhmo commented Sep 14, 2017

fixed in 0.2.0

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

2 participants