summary refs log tree commit diff
path: root/src/bootstrap/bootstrap.py
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2017-09-02 19:59:53 +0800
committerkennytm <kennytm@gmail.com>2017-09-02 22:11:25 +0800
commit4d06185688aa2bc533776669b53a2479e2cf3e8c (patch)
tree623194deb89bbb8b5c19020c44be8c66b2982980 /src/bootstrap/bootstrap.py
parentefceda220e92f02f7a29a15e4cf56f5a3cdf1792 (diff)
downloadrust-4d06185688aa2bc533776669b53a2479e2cf3e8c.tar.gz
rust-4d06185688aa2bc533776669b53a2479e2cf3e8c.zip
Remove invalid doctest from bootstrap.py.
Make sure that if the test is failed, the CI will stop the build.
Diffstat (limited to 'src/bootstrap/bootstrap.py')
-rw-r--r--src/bootstrap/bootstrap.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py
index 4c1bd7bdca9..4ef6d70e820 100644
--- a/src/bootstrap/bootstrap.py
+++ b/src/bootstrap/bootstrap.py
@@ -523,10 +523,6 @@ class RustBuild(object):
         >>> rb.config_toml = 'rustc = "rustc"\\n'
         >>> rb.program_config('rustc')
         'rustc'
-        >>> cargo_path = rb.program_config('cargo')
-        >>> cargo_path.rstrip(".exe") == os.path.join("/tmp/rust",
-        ... "bin", "cargo")
-        True
         >>> rb.config_toml = ''
         >>> cargo_path = rb.program_config('cargo')
         >>> cargo_path.rstrip(".exe") == os.path.join(rb.bin_root(),