diff --git a/tests/test_partitions.py b/tests/test_partitions.py
index d7f0fc22de81477e48639403531661935db0248c..eb980dee18ed464a42e45280e30b8d28f3e56654 100755
--- a/tests/test_partitions.py
+++ b/tests/test_partitions.py
@@ -149,7 +149,7 @@ if error:
     code = 1
 elif warning:
     print('Some warnings were found.')
-    code = 2
+    code = 3
 else:
     print(GREEN + 'All OK.' + DEF)
     code = 0