From e0b86a8d381a9b1b5910e0bbbfa6312324184610 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 19 Oct 2021 19:21:13 -0400 Subject: 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... --- unittests/allplatformstests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.1