summaryrefslogtreecommitdiff
path: root/oslo_config/tests/test_get_location.py
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2021-04-16 12:03:36 +0000
committerGerrit Code Review <review@openstack.org>2021-04-16 12:03:36 +0000
commit56f819898b873a84f44b532047a7a25ee21f7885 (patch)
treed3e17d3b864f36a5c3946f19912b6036d91e68ff /oslo_config/tests/test_get_location.py
parent8b657ae9e31db07f0c4e7d719a16806716c9041a (diff)
parent604bde417bba86d4f184d3469e33f92e7fc8eed9 (diff)
downloadoslo-config-56f819898b873a84f44b532047a7a25ee21f7885.tar.gz
Merge "remove unicode from code"
Diffstat (limited to 'oslo_config/tests/test_get_location.py')
-rw-r--r--oslo_config/tests/test_get_location.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo_config/tests/test_get_location.py b/oslo_config/tests/test_get_location.py
index 9541708..d06271a 100644
--- a/oslo_config/tests/test_get_location.py
+++ b/oslo_config/tests/test_get_location.py
@@ -137,7 +137,7 @@ class GetLocationTestCase(base.BaseTestCase):
def _write_opt_to_tmp_file(self, group, option, value):
filename = tempfile.mktemp()
with io.open(filename, 'w', encoding='utf-8') as f:
- f.write(textwrap.dedent(u'''
+ f.write(textwrap.dedent('''
[{group}]
{option} = {value}
''').format(