error with pytest==5.3.0
See original GitHub issueGetting the following error after updating from pytest==5.2.4
to pytest==5.3.0
. Using latest pytest-lazy-fixture
.
../../.pyenv/versions/3.8.0/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
return self._hookexec(self, self.get_hookimpls(), kwargs)
../../.pyenv/versions/3.8.0/lib/python3.8/site-packages/pluggy/manager.py:92: in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
../../.pyenv/versions/3.8.0/lib/python3.8/site-packages/pluggy/manager.py:83: in <lambda>
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../.pyenv/versions/3.8.0/lib/python3.8/site-packages/_pytest/python.py:208: in pytest_pycollect_makeitem
res = outcome.get_result()
../../.pyenv/versions/3.8.0/lib/python3.8/site-packages/aiohttp/pytest_plugin.py:155: in pytest_pycollect_makeitem
return list(collector._genfunctions(name, obj))
../../.pyenv/versions/3.8.0/lib/python3.8/site-packages/_pytest/python.py:404: in _genfunctions
self.ihook.pytest_generate_tests.call_extra(methods, dict(metafunc=metafunc))
../../.pyenv/versions/3.8.0/lib/python3.8/site-packages/pluggy/hooks.py:324: in call_extra
return self(**kwargs)
../../.pyenv/versions/3.8.0/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
return self._hookexec(self, self.get_hookimpls(), kwargs)
../../.pyenv/versions/3.8.0/lib/python3.8/site-packages/pluggy/manager.py:92: in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
../../.pyenv/versions/3.8.0/lib/python3.8/site-packages/pluggy/manager.py:83: in <lambda>
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../.pyenv/versions/3.8.0/lib/python3.8/site-packages/pytest_lazyfixture.py:69: in pytest_generate_tests
normalize_metafunc_calls(metafunc, 'funcargs')
../../.pyenv/versions/3.8.0/lib/python3.8/site-packages/pytest_lazyfixture.py:76: in normalize_metafunc_calls
calls = normalize_call(callspec, metafunc, valtype, used_keys)
../../.pyenv/versions/3.8.0/lib/python3.8/site-packages/pytest_lazyfixture.py:111: in normalize_call
newmetafunc = copy_metafunc(metafunc)
../../.pyenv/versions/3.8.0/lib/python3.8/site-packages/pytest_lazyfixture.py:85: in copy_metafunc
copied._ids = copy.copy(metafunc._ids)
E AttributeError: 'Metafunc' object has no attribute '_ids'
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Errors with pytest - python - Stack Overflow
I am using @pytest.mark.parametrize with various testcases and expected outputs. Its passing perfectly fine with few test cases and giving this ...
Read more >Changelog — pytest documentation
Bug Fixes¶. #10060: When running with --pdb , TestCase.tearDown is no longer called for tests when the class has been skipped via unittest.skip...
Read more >0.5.5: pytest is failing and some warnings · Issue #450 - GitHub
I'm trying to package your module as an rpm package. So I'm using the typical PEP517 based build, install and test cycle used...
Read more >pytest Documentation - Read the Docs
(See Demo of Python failure reports with pytest). This allows you to use the ... As of pytest-3.0, the module parameter is optional....
Read more >Python Tests - Datadog Docs
Python >= 2.7 and >= 3.5. Supported test frameworks: pytest >= 3.0.0. pytest < 5 when using Python 2. Installing the Datadog Agent....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks! Shipped new version https://pypi.org/project/pytest-lazy-fixture/0.6.2/
Awesome, thanks again!