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

Test on Python 3.6 #105

Merged
merged 1 commit into from
Feb 2, 2017
Merged

Test on Python 3.6 #105

merged 1 commit into from
Feb 2, 2017

Conversation

tiran
Copy link
Member

@tiran tiran commented Feb 1, 2017

Signed-off-by: Christian Heimes [email protected]

@tiran
Copy link
Member Author

tiran commented Feb 1, 2017

pytest triggers a deprecation warning on Python 3.6, which causes the tests to fail:

________________ ERROR collecting tests/test_authenticators.py _________________
.tox/py36/lib/python3.6/site-packages/_pytest/runner.py:163: in __init__
    self.result = func()
.tox/py36/lib/python3.6/site-packages/_pytest/main.py:476: in _memocollect
    return self._memoizedcall('_collected', lambda: list(self.collect()))
.tox/py36/lib/python3.6/site-packages/_pytest/main.py:347: in _memoizedcall
    res = function()
.tox/py36/lib/python3.6/site-packages/_pytest/main.py:476: in <lambda>
    return self._memoizedcall('_collected', lambda: list(self.collect()))
.tox/py36/lib/python3.6/site-packages/_pytest/python.py:412: in collect
    return super(Module, self).collect()
.tox/py36/lib/python3.6/site-packages/_pytest/python.py:326: in collect
    res = self.makeitem(name, obj)
.tox/py36/lib/python3.6/site-packages/_pytest/python.py:338: in makeitem
    collector=self, name=name, obj=obj)
.tox/py36/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py:745: in __call__
    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
.tox/py36/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py:339: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
.tox/py36/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py:334: in <lambda>
    _MultiCall(methods, kwargs, hook.spec_opts).execute()
.tox/py36/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py:613: in execute
    return _wrapped_call(hook_impl.function(*args), self.execute)
.tox/py36/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py:250: in _wrapped_call
    wrap_controller.send(call_outcome)
E   DeprecationWarning: generator 'pytest_pycollect_makeitem' raised StopIteration

@tiran
Copy link
Member Author

tiran commented Feb 1, 2017

I applied a band-aid. Tests are now ignoring deprecation warnings from pytest.

Signed-off-by: Christian Heimes <[email protected]>
Copy link
Member

@simo5 simo5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tiran tiran merged commit 7f52c3f into latchset:master Feb 2, 2017
@tiran tiran deleted the py36 branch February 2, 2017 09:24
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

Successfully merging this pull request may close these issues.

2 participants