diff --git a/modules/bindings/tests/test_blast.py b/modules/bindings/tests/test_blast.py
index 2b42bfd18ec4a612a602e86834f52e383149ee65..e8e151a4ec4a325658df4cee69c4b8d0b30feb47 100644
--- a/modules/bindings/tests/test_blast.py
+++ b/modules/bindings/tests/test_blast.py
@@ -43,8 +43,8 @@ if __name__ == "__main__":
     blastpath=settings.Locate('blastall')
   except(settings.FileNotFound):
     print "Could not find blastall executable: ignoring unit tests"
-    exit(0)
+    sys.exit(0)
   try:
     unittest.main()
   except Exception, e:
-    print e
\ No newline at end of file
+    print e
diff --git a/modules/bindings/tests/test_clustalw.py b/modules/bindings/tests/test_clustalw.py
index 0536df8f77f868c27b93edbf92fd37a5f9a3d31d..0fdb040db2b59f1a1a216a520059fb9d0f3faada 100644
--- a/modules/bindings/tests/test_clustalw.py
+++ b/modules/bindings/tests/test_clustalw.py
@@ -67,8 +67,8 @@ if __name__ == "__main__":
     clustalw_path=settings.Locate(('clustalw', 'clustalw2'))
   except(settings.FileNotFound):
     print "Could not find clustalw executable: ignoring unit tests"
-    exit(0)
+    sys.exit(0)
   try:
     unittest.main()
   except Exception, e:
-    print e
\ No newline at end of file
+    print e
diff --git a/modules/seq/alg/tests/test_renumber.py b/modules/seq/alg/tests/test_renumber.py
index 6d365a9b77ff2e0b9ffe80aad910cd428b599854..76a9bf1d1d37284914ff7f23f2d32923c451d4f4 100644
--- a/modules/seq/alg/tests/test_renumber.py
+++ b/modules/seq/alg/tests/test_renumber.py
@@ -117,8 +117,8 @@ if __name__ == "__main__":
     clustalw_path=settings.Locate(('clustalw', 'clustalw2'))
   except(settings.FileNotFound):
     print "Could not find clustalw executable: ignoring unit tests"
-    exit(0)  
+    sys.exit(0)  
   try:
     unittest.main()
   except Exception, e:
-    print e
\ No newline at end of file
+    print e