diff options
| author | Trevor Gross <tmgross@umich.edu> | 2023-06-10 12:06:17 -0400 |
|---|---|---|
| committer | Trevor Gross <tgross@intrepidcs.com> | 2023-06-16 20:56:01 -0400 |
| commit | 22d00dcd47e0b8e18eb254966750fb523c726e4e (patch) | |
| tree | 603ea4c342940caabe746bc86822350aa5d7f9f4 /tests/run-make/sysroot-crates-are-unstable/test.py | |
| parent | 4b71d79c972a605959b0a7c82b323fbd8562f070 (diff) | |
| download | rust-22d00dcd47e0b8e18eb254966750fb523c726e4e.tar.gz rust-22d00dcd47e0b8e18eb254966750fb523c726e4e.zip | |
Apply changes to fix python linting errors
Diffstat (limited to 'tests/run-make/sysroot-crates-are-unstable/test.py')
| -rw-r--r-- | tests/run-make/sysroot-crates-are-unstable/test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-make/sysroot-crates-are-unstable/test.py b/tests/run-make/sysroot-crates-are-unstable/test.py index cab4faa4e64..45cfdd195b4 100644 --- a/tests/run-make/sysroot-crates-are-unstable/test.py +++ b/tests/run-make/sysroot-crates-are-unstable/test.py @@ -46,7 +46,7 @@ def check_lib(lib): '--target', os.environ['TARGET'], '--extern', '{}={}'.format(lib['name'], lib['path'])], to_input=('extern crate {};'.format(lib['name'])).encode('utf-8')) - if not 'use of unstable library feature' in '{}{}'.format(stdout, stderr): + if 'use of unstable library feature' not in '{}{}'.format(stdout, stderr): print('crate {} "{}" is not unstable'.format(lib['name'], lib['path'])) print('{}{}'.format(stdout, stderr)) print('') |
