monitor/test: Remove PYTHONPATH while calling python
The called python program is python3 program, and provided PYTHONPATH is from python2, resulting in bad behaviour.
Showing
The called python program is python3 program, and provided PYTHONPATH is from python2, resulting in bad behaviour.
mentioned in commit 6e65bb9d
·mentioned in commit 6e65bb9d
BTW, this is easier with subprocess
subprocess.check_call((self.surykatka_status_json, ), env={k: v for (k, v) in os.environ.items() if k != 'PYTHONPATH'})