Changeset: cc979363f0db for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/cc979363f0db
Modified Files:
        common/stream/Tests/urlstream.py
Branch: Oct2020
Log Message:

Test common/stream/urlstream: only look for numeric error code

Apparently not all libcurls return the textual error message.


diffs (9 lines):

diff --git a/common/stream/Tests/urlstream.py b/common/stream/Tests/urlstream.py
--- a/common/stream/Tests/urlstream.py
+++ b/common/stream/Tests/urlstream.py
@@ -91,4 +91,4 @@ assert err == b''
 
 (code, out, err) = streamcat('/xyzzy')
 assert code != 0
-assert b'hollow voice' in err
+assert b'404' in err
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to