Lines Matching refs:os
15 import os
30 assert_equal("os.path.basename(__file__)", os.path.basename(__file__), "py-cmd_test.py")
32 if os.getenv('ARGTEST', False):
36 elif os.getenv('ARGTEST2', False):
43 if os.getenv('ARGTEST_ONLY', False):
51 assert_equal("basename(sys.executable)", os.path.basename(sys.executable), 'py2-cmd')
53 assert_equal("basename(sys.executable)", os.path.basename(sys.executable), 'py3-cmd')
60 assert_equal("sys.path[0]", sys.path[0], os.path.dirname(__file__))
62 assert_equal("sys.path[2]", sys.path[2], os.path.join(sys.executable, "internal"))
63 assert_equal("sys.path[3]", sys.path[3], os.path.join(sys.executable, "internal", "stdlib"))
66 assert_equal("sys.path[0]", sys.path[0], os.path.abspath(os.path.dirname(__file__)))
68 …assert_equal("sys.path[2]", sys.path[2], os.path.join(sys.executable, 'lib', 'python' + str(sys.ve…
69 …assert_equal("sys.path[3]", sys.path[3], os.path.join(sys.executable, 'lib', 'python' + str(sys.ve…
70 …assert_equal("sys.path[4]", sys.path[4], os.path.join(sys.executable, 'lib', 'python' + str(sys.ve…
71 …assert_equal("sys.path[5]", sys.path[5], os.path.join(sys.executable, 'lib', 'python' + str(sys.ve…
72 assert_equal("sys.path[6]", sys.path[6], os.path.join(sys.executable, "internal"))
73 assert_equal("sys.path[7]", sys.path[7], os.path.join(sys.executable, "internal", "stdlib"))