]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/t/tclient.py
Fix use of Python assert() with respect to optimization.
[bup.git] / lib / bup / t / tclient.py
index 85dd8b211eaf18ad9773cd69092f7d7992852e0f..78d845cf28d7e940844cdda1cf7cbe491dc68e7c 100644 (file)
@@ -144,5 +144,5 @@ def test_remote_parsing():
     try:
         client.parse_remote('http://asdf.com/bup')
         WVFAIL()
-    except AssertionError:
+    except client.ClientError:
         WVPASS()