fix-5963: assert error message
@@ -59,4 +59,6 @@ class TestBasicLoading(ConfigurationMixin):
assert lines == textwrap.dedent(expected).strip().splitlines()
def test_forget_section(self, script):
- script.pip("config", "set", "isolated", "true", expect_error=True)
+ result = script.pip("config", "set", "isolated", "true",
+ expect_error=True)
+ assert "global.isolated" in result.stderr
