diff options
| author | kennytm <kennytm@gmail.com> | 2017-09-02 19:59:53 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2017-09-02 22:11:25 +0800 |
| commit | 4d06185688aa2bc533776669b53a2479e2cf3e8c (patch) | |
| tree | 623194deb89bbb8b5c19020c44be8c66b2982980 /src/bootstrap/bootstrap.py | |
| parent | efceda220e92f02f7a29a15e4cf56f5a3cdf1792 (diff) | |
| download | rust-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.py | 4 |
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(), |
