summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2012-05-23 14:15:20 +0200
committerDidier Raboud <odyx@debian.org>2012-05-23 14:56:49 +0200
commit751b46f2793491b6332aab5841cfa51e0f8673a6 (patch)
tree642237b76339016096fe903ff9788407c657df3a /test
parent93899b92530267395fca1404155e223f6b2511af (diff)
Py: Deprecate the compare_release function.
In the process, rewrite it to be based on release_index() for robustness.
Diffstat (limited to 'test')
-rw-r--r--test/test_lsb_release.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_lsb_release.py b/test/test_lsb_release.py
index 85790c9..100c0d2 100644
--- a/test/test_lsb_release.py
+++ b/test/test_lsb_release.py
@@ -9,6 +9,8 @@ import string
import os
import sys
+import warnings
+
def rnd_string(min_l,max_l):
return ''.join( [random.choice(string.ascii_letters) for i in range(random.randint(min_l,max_l))])