You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a ImportError regarding TempdirFactory which was removed in 7.0
Traceback (most recent call last):
....
File "/usr/local/lib/python3.9/site-packages/pytest_mysql/plugin.py", line 21, in <module>
from pytest_mysql import factories
File "/usr/local/lib/python3.9/site-packages/_pytest/assertion/rewrite.py", line 171, in exec_module
exec(co, module.__dict__)
File "/usr/local/lib/python3.9/site-packages/pytest_mysql/factories/__init__.py", line 3, in <module>
from pytest_mysql.factories.process import mysql_proc
File "/usr/local/lib/python3.9/site-packages/_pytest/assertion/rewrite.py", line 171, in exec_module
exec(co, module.__dict__)
File "/usr/local/lib/python3.9/site-packages/pytest_mysql/factories/process.py", line 25, in <module>
from _pytest.tmpdir import TempdirFactory
ImportError: cannot import name 'TempdirFactory' from '_pytest.tmpdir' (/usr/local/lib/python3.9/site-packages/_pytest/tmpdir.py)
What are the expected results
No error
The text was updated successfully, but these errors were encountered:
What action do you want to perform
I upgraded pytest to 7.0
What are the results
There's a
ImportError
regardingTempdirFactory
which was removed in 7.0What are the expected results
No error
The text was updated successfully, but these errors were encountered: