From 2c1a95f105487ee5bd6abeb032bde08e7991bde6 Mon Sep 17 00:00:00 2001 From: Aaron Sheffield Date: Thu, 16 Jan 2020 10:29:22 -0600 Subject: [PATCH] Removed Unused Variable in Unit Test - Removed an optional parameter on with since the variable was not used. Change-Id: I9794ae07e8904e71dee2cc55cc6ba3c9b71fc06f --- tests/unit/engine/util/test_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/engine/util/test_files.py b/tests/unit/engine/util/test_files.py index 262d85af..171fbfa3 100644 --- a/tests/unit/engine/util/test_files.py +++ b/tests/unit/engine/util/test_files.py @@ -59,7 +59,7 @@ class TestFileHelpers(object): with open(path, "r") as out_fi: assert list(yaml.safe_load_all(out_fi)) == [{"a": 1}] - with pytest.raises(ValueError) as _: + with pytest.raises(ValueError): files.write(object(), path) def test_file_permissions(self, temp_deployment_files):