aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-10-19 19:21:13 -0400
committerEli Schwartz <eschwartz@archlinux.org>2021-10-26 20:53:42 -0400
commite0b86a8d381a9b1b5910e0bbbfa6312324184610 (patch)
tree9482e0671a5b85b261d9ae1c4406dcc868e25877
parent7b53c26501eb65a148cff91265fd3e4cfc581b2a (diff)
downloadmeson-e0b86a8d381a9b1b5910e0bbbfa6312324184610.zip
meson-e0b86a8d381a9b1b5910e0bbbfa6312324184610.tar.gz
meson-e0b86a8d381a9b1b5910e0bbbfa6312324184610.tar.bz2
remove unused variable
It never made sense here to save self.init() which returns a string containing a log or stdout or something, and which was never actually used. Also we then overwrote the variable with a pathname...
-rw-r--r--unittests/allplatformstests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/allplatformstests.py b/unittests/allplatformstests.py
index 5a2a4c3..c7fe2cb 100644
--- a/unittests/allplatformstests.py
+++ b/unittests/allplatformstests.py
@@ -2618,7 +2618,7 @@ class AllPlatformTests(BasePlatformTests):
def test_introspect_json_flat(self):
testdir = os.path.join(self.unit_test_dir, '57 introspection')
- out = self.init(testdir, extra_args=['-Dlayout=flat'])
+ self.init(testdir, extra_args=['-Dlayout=flat'])
infodir = os.path.join(self.builddir, 'meson-info')
self.assertPathExists(infodir)