cubicweb/dataimport/test/test_pgstore.py
changeset 12219 4b5f1b676366
parent 11057 0b59724cb3f2
child 12249 676c166bbd74
--- a/cubicweb/dataimport/test/test_pgstore.py	Mon Oct 30 09:18:20 2017 +0100
+++ b/cubicweb/dataimport/test/test_pgstore.py	Mon Oct 30 09:08:35 2017 +0100
@@ -66,7 +66,7 @@
 
     # test buffer
     def test_create_copyfrom_buffer_tuple(self):
-        l = long if PY2 else int
+        l = long if PY2 else int  # noqa: E741
         data = ((42, l(42), 42.42, u'éléphant', DT.date(666, 1, 13), DT.time(6, 6, 6),
                  DT.datetime(666, 6, 13, 6, 6, 6)),
                 (6, l(6), 6.6, u'babar', DT.date(2014, 1, 14), DT.time(4, 2, 1),