]> git.phdru.name Git - m_librarian.git/blobdiff - tests/__init__.py
Update code for compatibility with Python 3
[m_librarian.git] / tests / __init__.py
index e40219aa38a0010d0601a0ed32216206baf78abf..e55661f9673427fac81535862bee5987575a2d24 100644 (file)
@@ -29,7 +29,7 @@ class TestCase(unittest.TestCase):
 def main():
     try:
         unittest.main(testRunner=unittest.TextTestRunner())
-    except SystemExit, msg:
+    except SystemExit as msg:
         result = msg.args[0]
     else:
         result = 0