diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 01:03:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 01:03:58 +0000 |
commit | d460debc6f2747699a54b7ea0e25f4ec69bf1b3d (patch) | |
tree | ca88441f05ddeb5857757e4fbba5f266119e0439 /test/t/conftest.py | |
parent | Adding upstream version 1:2.12.0. (diff) | |
download | bash-completion-d460debc6f2747699a54b7ea0e25f4ec69bf1b3d.tar.xz bash-completion-d460debc6f2747699a54b7ea0e25f4ec69bf1b3d.zip |
Adding upstream version 1:2.13.0.upstream/1%2.13.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/t/conftest.py')
-rw-r--r-- | test/t/conftest.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/t/conftest.py b/test/t/conftest.py index 874ef1c..cb279cc 100644 --- a/test/t/conftest.py +++ b/test/t/conftest.py @@ -601,9 +601,9 @@ class bash_env_saved: def _unprotect_variable(self, varname: str): if varname not in self.saved_variables: - self.saved_variables[ - varname - ] = bash_env_saved.saved_state.ChangesDetected + self.saved_variables[varname] = ( + bash_env_saved.saved_state.ChangesDetected + ) self._copy_variable( varname, "%s_OLDVAR_%s" % (self.prefix, varname) ) @@ -695,9 +695,9 @@ class bash_env_saved: def save_variable(self, varname: str): self._unprotect_variable(varname) - self.saved_variables[ - varname - ] = bash_env_saved.saved_state.ChangesIgnored + self.saved_variables[varname] = ( + bash_env_saved.saved_state.ChangesIgnored + ) # TODO: We may restore the "export" attribute as well though it is # not currently tested in "diff_env" |