/
githubmirror
/
libreport
Обзор
Документация
Войти
/
githubmirror
/
libreport
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/report-python/report/test_dd_create
25 строк
303 B
Matej Habrnal
build: create report sub-directory
25 апр 2018, 11:36
25 апр 2018, 11:36
3d5b20f
Код
Авторство
О чём код?
#!/usr/bin/python from report import * dd = dd_create("testdir") print dd if dd: print "dd is nonzero" else: print "dd is zero" print "name:", dd.name print "closing" dd.close() if dd: print "dd is nonzero" else: print "dd is zero" # Should fail here dd.name = "qwe" print "Done"