summaryrefslogtreecommitdiff
path: root/tests/plugins/deprecationwarnings/deprecationwarnings.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/deprecationwarnings/deprecationwarnings.py')
-rw-r--r--tests/plugins/deprecationwarnings/deprecationwarnings.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/plugins/deprecationwarnings/deprecationwarnings.py b/tests/plugins/deprecationwarnings/deprecationwarnings.py
index 6f20eae8c..628faea68 100644
--- a/tests/plugins/deprecationwarnings/deprecationwarnings.py
+++ b/tests/plugins/deprecationwarnings/deprecationwarnings.py
@@ -11,9 +11,7 @@ from buildstream.testing import cli # pylint: disable=unused-import
DATA_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "project")
_DEPRECATION_MESSAGE = "Here is some detail."
-_DEPRECATION_WARNING = "Using deprecated plugin deprecated_plugin: {}".format(
- _DEPRECATION_MESSAGE
-)
+_DEPRECATION_WARNING = "Using deprecated plugin deprecated_plugin: {}".format(_DEPRECATION_MESSAGE)
@pytest.mark.datafiles(DATA_DIR)
@@ -29,11 +27,7 @@ def test_suppress_deprecation_warning(cli, datafiles):
project = str(datafiles)
cli.run(project=project, args=["show", "manual.bst"])
- element_overrides = (
- "elements:\n"
- " deprecated_plugin:\n"
- " suppress-deprecation-warnings : True\n"
- )
+ element_overrides = "elements:\n" " deprecated_plugin:\n" " suppress-deprecation-warnings : True\n"
project_conf = os.path.join(project, "project.conf")
with open(project_conf, "a") as f: