Instead of modifying os.environ (which I think doesn't work like you expect it to), just pass the environment to check_call, like 

```py
env=os.environ.copy()
env['PYTHONPATH'] = ...
check_call(env=env)
```