"Additional arguments can't be parsed. " When passing in customized py.test argument in Run/Debug Configuration

Answered

PyCharm Community Edition 2017.1.1
Build #PC-171.4163.6, built on April 11, 2017
JRE: 1.8.0_112-release-736-b16 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.11.6

Seems like upgrading pycharm to latest version has restricted usage of customized argument to py.test framework.

When I added customized arguments to "Additional Arguments" tab in Run/Debug Configuration for py.test, pycharm refused to run it.

The full error message is :

"Error running TestName: Additional arguments can't be parsed. Please check they are valid: -s --override=ReplacedPlaceHolder" 

 

Is there any way to get this to work?

Thanks,

Ray

0
2 comments
Official comment

Hello.

This issue is fixed in 2017.1.2 RC which should be available on this week. For business-critical situations you may contact our support ("pycharm-support@jetbrains.com") for instructions on how to enable old test runners, but it is better to wait for 2017.1.2.

Avatar
Permanently deleted user

Thanks for such fast response and fix. Your support is awesome!

 

Ray

0

Please sign in to leave a comment.