在Windows11中使用pytest-xdist 时候报错 pytest: error: unrecognized arguments: -n auto
解决办法如下:
1.首先确认自己有没有安装这个插件
2.检查自己的pycharm用的是powershell还是cmd
只需要把 powershell切换成cmd就可以运行啦
在Windows11中使用pytest-xdist 时候报错 pytest: error: unrecognized arguments: -n auto
解决办法如下:
1.首先确认自己有没有安装这个插件
2.检查自己的pycharm用的是powershell还是cmd
只需要把 powershell切换成cmd就可以运行啦