mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 14:50:53 +07:00
Previously, it used an odd convention with lowercased names of test data files (with nothing separating individual words), which made adding new tests quite tedious. Also, I removed the test data "exit.py" as it wasn't used by any test. GitOrigin-RevId: 92b1963c67ed01977f5b7ad020984056c9fe045d
9 lines
170 B
Python
9 lines
170 B
Python
d = dict()
|
|
try:
|
|
v = d['key']
|
|
except KeyError:
|
|
print 'element not found'
|
|
else:
|
|
print 'element value {0}'.format(v)
|
|
finally:
|
|
print 'excuting finally clause' |