summaryrefslogtreecommitdiff
path: root/testsuite.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-01-16 15:20:01 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2018-01-16 15:20:01 +0100
commit166a24edf71b35c6df9c638274dc82a5d82b1387 (patch)
treeda8aab352075b63956b0b95fa8c70048f3227d61 /testsuite.py
parentc054d89015a3fb600332de1590594d7eae539f32 (diff)
Get TRI_TO_STR from Kconfiglib in test suite
Old code.
Diffstat (limited to 'testsuite.py')
-rw-r--r--testsuite.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/testsuite.py b/testsuite.py
index 8133465..8306c05 100644
--- a/testsuite.py
+++ b/testsuite.py
@@ -40,6 +40,7 @@
from kconfiglib import Kconfig, Symbol, Choice, COMMENT, MENU, \
BOOL, TRISTATE, HEX, STRING, \
+ TRI_TO_STR, \
KconfigSyntaxError, expr_value
import difflib
import errno
@@ -113,8 +114,6 @@ def run_selftests():
# configuration.
#
- TRI_TO_STR = {0: "n", 1: "m", 2: "y"}
-
def verify_value(sym_name, val):
"""
Verifies that a symbol has a particular value.