diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-02 09:41:36 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-02 10:27:13 +0100 |
| commit | 57e5a8eb6d6ff0a393116d5471f720cc1af33f88 (patch) | |
| tree | 3c53b24dabd8f22c1f3244ce0e802d6a39daf034 /testsuite.py | |
| parent | b3d2a4eeea9002c15140cb80a5cd04b9839a88f6 (diff) | |
Always save user values if they're valid
Can just skip the invalidation for promptless symbols. Makes things less
magic and more intuitive while still being fast. Means no docs need to
be rewritten too.
Now the warning gets printed for unset_value() as well.
Diffstat (limited to 'testsuite.py')
| -rw-r--r-- | testsuite.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite.py b/testsuite.py index 4cfc245..586899a 100644 --- a/testsuite.py +++ b/testsuite.py @@ -1933,11 +1933,11 @@ def test_sanity(conf, arch): conf.disable_warnings() sym.set_value(2) sym.set_value("foo") + sym.unset_value() conf.enable_warnings() sym.str_value sym.tri_value sym.type - sym.unset_value() sym.user_value sym.visibility @@ -1971,11 +1971,11 @@ def test_sanity(conf, arch): conf.disable_warnings() sym.set_value(2) sym.set_value("foo") + sym.unset_value() conf.enable_warnings() sym.str_value sym.tri_value sym.type - sym.unset_value() sym.visibility # Cheat with internals |
