annotate tests/data/conf2.py @ 449:5864977bb44f

FIX: KeyError formatting. For jailed configs: self._path is a tuple and must be wrapped into a tuple when used for "%"-style error formatting.
author Franz Glasner <f.glasner@feldmann-mg.com>
date Tue, 14 Dec 2021 14:28:10 +0100
parents 84b9578cacce
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
93
84b9578cacce Start with unit tests
Franz Glasner <hg@dom66.de>
parents:
diff changeset
1 # -*- coding: utf-8 -*-
84b9578cacce Start with unit tests
Franz Glasner <hg@dom66.de>
parents:
diff changeset
2
84b9578cacce Start with unit tests
Franz Glasner <hg@dom66.de>
parents:
diff changeset
3 __all__ = ["key1", "nonexistingkey"]
84b9578cacce Start with unit tests
Franz Glasner <hg@dom66.de>
parents:
diff changeset
4
84b9578cacce Start with unit tests
Franz Glasner <hg@dom66.de>
parents:
diff changeset
5 key1 = u"the next value"
84b9578cacce Start with unit tests
Franz Glasner <hg@dom66.de>
parents:
diff changeset
6 key2 = "non-exported value"