Lines Matching refs:path
30 assert_equal("os.path.basename(__file__)", os.path.basename(__file__), "py-cmd_test.py")
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')
59 assert_equal("len(sys.path)", len(sys.path), 4)
60 assert_equal("sys.path[0]", sys.path[0], os.path.dirname(__file__))
61 assert_equal("sys.path[1]", sys.path[1], "/extra")
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"))
65 assert_equal("len(sys.path)", len(sys.path), 8)
66 assert_equal("sys.path[0]", sys.path[0], os.path.abspath(os.path.dirname(__file__)))
67 assert_equal("sys.path[1]", sys.path[1], "/extra")
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"))