Closed smileykaur closed 4 years ago
The above issue occur with Python 3.7.4, when using ipytest-0.8.1 with Pytest 5.2.1. After updating Pytest to v5.4.1 this issue gets resolved.
Thanks for reporting this issue. TBH. the current requirement spec is suboptimal. In the next release of ipytest, pytest will a proper requirement and this problem will solve itself automatically.
Thanks for figuring out that not all versions of pytest 5.x.x
support from_parent
. I was not aware :)
Edit: browsing the changelog of pytest -- they changed the behavior in version 5.4.0
Hi, I am trying to run ipytest on a notebook in Jupyter lab on AWS server -
I get error
AttributeError: 'super' object has no attribute 'from_parent'
. When I run the same code on a local Jupyter notebook this runs successfully.