mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +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
8 lines
143 B
Python
8 lines
143 B
Python
status = None
|
|
try:
|
|
status = open('/proc/self/status', 'r')
|
|
finally:
|
|
if status is not None:
|
|
print('opened: %r' % status)
|
|
status.close()
|