diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-10-19 19:24:55 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2021-10-26 20:53:43 -0400 |
commit | 67792fc223daac88dcc4d5f5e981f3724b87e9b4 (patch) | |
tree | a8821de3c77597397a5968043ff5f8fa5087227d | |
parent | e0b86a8d381a9b1b5910e0bbbfa6312324184610 (diff) | |
download | meson-67792fc223daac88dcc4d5f5e981f3724b87e9b4.zip meson-67792fc223daac88dcc4d5f5e981f3724b87e9b4.tar.gz meson-67792fc223daac88dcc4d5f5e981f3724b87e9b4.tar.bz2 |
do not save unused variable
Constructing a PackageDefinition is enough to assert that it raises an
error.
-rw-r--r-- | unittests/allplatformstests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/allplatformstests.py b/unittests/allplatformstests.py index c7fe2cb..bae0403 100644 --- a/unittests/allplatformstests.py +++ b/unittests/allplatformstests.py @@ -3598,7 +3598,7 @@ class AllPlatformTests(BasePlatformTests): filename = foo/real.wrap ''')) with self.assertRaisesRegex(WrapException, 'wrap-redirect filename must be in the form foo/subprojects/bar.wrap'): - wrap = PackageDefinition(redirect_wrap) + PackageDefinition(redirect_wrap) # Correct redirect with open(redirect_wrap, 'w', encoding='utf-8') as f: |