I'm using Python **2.7.15** in PyCharm on **Windows 10**. I'm trying to write a unittest using minicluster.py **(snakebite 2.11.0)**. I have following code: ``` cluster = MiniCluster('/test-files') client = Client('localhost', cluster.port) self.file_utils = FileUtilsMock(client) ``` When running this code I get > OSError: [WinError 193] %1 is not a valid Win32 application I found out that ``` subprocess.Popen(cmd, bufsize=0, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True) ``` on **line 190** of **minicluster.py** is causing this problem, which may be related with https://stackoverflow.com/questions/912830/using-subprocess-to-run-python-script-on-windows
I'm using Python 2.7.15 in PyCharm on Windows 10.
I'm trying to write a unittest using minicluster.py (snakebite 2.11.0). I have following code:
When running this code I get
I found out that
on line 190 of minicluster.py is causing this problem, which may be related with https://stackoverflow.com/questions/912830/using-subprocess-to-run-python-script-on-windows