Source: q-text-as-data Version: 3.1.6-1 Severity: serious Tags: ftbfs https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/q-text-as-data.html
... =================================== FAILURES =================================== _____________ FormattingTests.test_universal_newlines_parsing_flag _____________ self = <test.test_suite.FormattingTests testMethod=test_universal_newlines_parsing_flag> def test_universal_newlines_parsing_flag(self): def list_as_byte_list(l): return list(map(lambda x:six.b(x),l)) expected_output = list(map(lambda x:list_as_byte_list(x),[['lifelock', 'LifeLock', '', 'web', 'Tempe', 'AZ', '1-May-07', '6850000', 'USD', 'b'], ['lifelock', 'LifeLock', '', 'web', 'Tempe', 'AZ', '1-Oct-06', '6000000', 'USD', 'a'], ['lifelock', 'LifeLock', '', 'web', 'Tempe', 'AZ', '1-Jan-08', '25000000', 'USD', 'c'], ['mycityfaces', 'MyCityFaces', '7', 'web', 'Scottsdale', 'AZ', '1-Jan-08', '50000', 'USD', 'seed'], ['flypaper', 'Flypaper', '', 'web', 'Phoenix', 'AZ', '1-Feb-08', '3000000', 'USD', 'a'], ['infusionsoft', 'Infusionsoft', '105', 'software', 'Gilbert', 'AZ', '1-Oct-07', '9000000', 'USD', 'a']])) data = six.b('permalink,company,numEmps,category,city,state,fundedDate,raisedAmt,raisedCurrency,round\rlifelock,LifeLock,,web,Tempe,AZ,1-May-07,6850000,USD,b\rlifelock,LifeLock,,web,Tempe,AZ,1-Oct-06,6000000,USD,a\rlifelock,LifeLock,,web,Tempe,AZ,1-Jan-08,25000000,USD,c\rmycityfaces,MyCityFaces,7,web,Scottsdale,AZ,1-Jan-08,50000,USD,seed\rflypaper,Flypaper,,web,Phoenix,AZ,1-Feb-08,3000000,USD,a\rinfusionsoft,Infusionsoft,105,software,Gilbert,AZ,1-Oct-07,9000000,USD,a') tmp_data_file = self.create_file_with_data(data) cmd = Q_EXECUTABLE + ' -d , -H -U "select permalink,company,numEmps,category,city,state,fundedDate,raisedAmt,raisedCurrency,round from %s"' % tmp_data_file.name retcode, o, e = run_command(cmd) > self.assertEqual(retcode,0) E AssertionError: 59 != 0 test/test_suite.py:4851: AssertionError ----------------------------- Captured stdout call ----------------------------- CMD: /build/1st/q-text-as-data-3.1.6/bin/q.py -d , -H -U "select permalink,company,numEmps,category,city,state,fundedDate,raisedAmt,raisedCurrency,round from /tmp/tmps51xoyjb" RESULT:(59, [], [b"Could not parse the input. Please make sure to set the proper -w input-wrapping parameter for your input, and that you use the proper input encoding (-e). Error: invalid mode: 'rU'"]) =========================== short test summary info ============================ FAILED test/test_suite.py::FormattingTests::test_universal_newlines_parsing_flag ============ 1 failed, 223 passed, 3 deselected in 61.17s (0:01:01) ============ make[1]: *** [debian/rules:27: override_dh_auto_test] Error 1