mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-21 03:07:08 +01:00
12 lines
291 B
Python
12 lines
291 B
Python
|
|
def bar(config):
|
|
|
|
config.Write("Test", 17)
|
|
|
|
foo(config)
|
|
|
|
# we're reading "/Foo/Data/Test" here! -1 will probably be returned...
|
|
if config.ReadInt("Test", -1) != 17:
|
|
raise Exception('Invalid Test')
|
|
|