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')
62 assert_equal("len(sys.path)", len(sys.path), 4)
63 assert_equal("sys.path[0]", sys.path[0], os.path.abspath(os.path.dirname(__file__)))
64 assert_equal("sys.path[1]", sys.path[1], "/extra")
65 assert_equal("sys.path[2]", sys.path[2], os.path.join(sys.executable, "internal"))
66 assert_equal("sys.path[3]", sys.path[3], os.path.join(sys.executable, "internal", "stdlib"))
68 assert_equal("len(sys.path)", len(sys.path), 5)
69 assert_equal("sys.path[0]", sys.path[0], os.path.abspath(os.path.dirname(__file__)))
70 assert_equal("sys.path[1]", sys.path[1], "/extra")
71 …assert_equal("sys.path[2]", sys.path[2], os.path.join(sys.executable, 'internal', 'python' + str(s…
72 …assert_equal("sys.path[3]", sys.path[3], os.path.join(sys.executable, 'internal', 'python' + str(s…
73 …assert_equal("sys.path[4]", sys.path[4], os.path.join(sys.executable, 'internal', 'python' + str(s…