Debian Codegraph @

test/test_osx.py

raw symbols SCIP
1 # -*- coding: utf-8 -*-
2 # test_osx.py
3
4 # If on a Mac, launch with pgzrun, and check for correct process name:
5 # Without fix:
6 # 502 49953 21828 0 10:12pm ttys002 0:23.14 /Users/rcollin2/.virtualenvs/pgzero/bin/python /Users/rcollin2/.virtualenvs/pgzero/bin/pgzrun key_test.py
7 # With fix:
8 #
9 # $ ps -ef | grep -i pgzero | grep -i python
10 # 502 49953 21828 0 10:12pm ttys002 0:23.14 /Users/rcollin2/.virtualenvs/pgzero/bin/python /Users/rcollin2/.virtualenvs/pgzero/bin/pgzrun key_test.py
11 #
12 # $ ps -ef | grep -i pgzero | grep -i python
13 # 502 59772 21828 0 10:32pm ttys002 0:01.94 /Library/Frameworks/Python.framework/Versions/3.4/Resources/Python.app/Contents/MacOS/Python -m pgzero key_test.py
14
15 # ps -ef | grep -i python | grep -iE 'pgzero | pgzrun'
16 # 502 59772 21828 0 10:32pm ttys002 4:23.73 /Library/Frameworks/Python.framework/Versions/3.4/Resources/Python.app/Contents/MacOS/Python -m pgzero key_test.py
17