# HG changeset patch # User Julien Cristau # Date 1446625355 -3600 # Node ID ffb5b6c25cec0969adb9ab0f08b0bef5805c3c28 # Parent ca73ee6d24ad20b8dcb25a4c63e1200fa6502776 [dataimport/test] update call to ucsvreader Silences warning: [3.20] 'separator' kwarg is deprecated, use 'delimiter' instead diff -r ca73ee6d24ad -r ffb5b6c25cec dataimport/test/test_massive_store.py --- a/dataimport/test/test_massive_store.py Wed Nov 04 09:09:08 2015 +0100 +++ b/dataimport/test/test_massive_store.py Wed Nov 04 09:22:35 2015 +0100 @@ -56,7 +56,7 @@ timezone_code = dict(cnx.execute('Any C, X WHERE X is TimeZone, X code C')) # Push data for ind, infos in enumerate(ucsvreader(open(dumpname, 'rb'), - separator='\t', + delimiter='\t', ignore_errors=True)): latitude = self.cast(float, infos[4]) longitude = self.cast(float, infos[5])