summaryrefslogtreecommitdiffstats
path: root/python/t/010-basic.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/t/010-basic.py')
-rw-r--r--python/t/010-basic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/t/010-basic.py b/python/t/010-basic.py
index 63bd6172..a97f3d24 100644
--- a/python/t/010-basic.py
+++ b/python/t/010-basic.py
@@ -31,6 +31,6 @@ g.lvcreate ("LV1", "VG", 200)
g.lvcreate ("LV2", "VG", 200)
if (g.lvs () != ["/dev/VG/LV1", "/dev/VG/LV2"]):
raise "Error: g.lvs() returned incorrect result"
-del g
+g.close ()
os.unlink ("test.img")