Source: python-pyvcf Version: 0.6.8+git20170215.476169c-8 Severity: serious Tags: ftbfs
https://buildd.debian.org/status/logs.php?pkg=python-pyvcf&ver=0.6.8%2Bgit20170215.476169c-8%2Bb3 ... =================================== FAILURES =================================== ___________________________ Test1kgSites.test_writer ___________________________ self = <vcf.test.test_vcf.Test1kgSites testMethod=test_writer> def test_writer(self): """FORMAT should not be written if not present in the template and no extra tab character should be printed if there are no FORMAT fields.""" reader = vcf.Reader(fh('1kg.sites.vcf', 'r')) out = StringIO() > writer = vcf.Writer(out, reader, lineterminator='\n') vcf/test/test_vcf.py:298: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <vcf.parser.Writer object at 0x7ff217f72990> stream = <_io.StringIO object at 0x7ff21801f5b0> template = <vcf.parser.Reader object at 0x7ff217f721d0>, lineterminator = '\n' def __init__(self, stream, template, lineterminator="\n"): > self.writer = csv.writer(stream, delimiter="\t", lineterminator=lineterminator, quotechar='', quoting=csv.QUOTE_NONE) E TypeError: "quotechar" must be a 1-character string vcf/parser.py:647: TypeError __________________________ TestInfoOrder.test_writer ___________________________ self = <vcf.test.test_vcf.TestInfoOrder testMethod=test_writer> def test_writer(self): """ Order of INFO fields should be compatible with the order of their definition in the header and undefined fields should be last and in alphabetical order. """ reader = vcf.Reader(fh('1kg.sites.vcf', 'r')) out = StringIO() > writer = vcf.Writer(out, reader, lineterminator='\n') vcf/test/test_vcf.py:354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ... =========================== short test summary info ============================ FAILED vcf/test/test_vcf.py::Test1kgSites::test_writer - TypeError: "quotecha... FAILED vcf/test/test_vcf.py::TestInfoOrder::test_writer - TypeError: "quotech... FAILED vcf/test/test_vcf.py::TestInfoTypeCharacter::test_write - TypeError: "... FAILED vcf/test/test_vcf.py::TestParseMetaLine::test_write - TypeError: "quot... FAILED vcf/test/test_vcf.py::TestGatkOutputWriter::testWrite - TypeError: "qu... FAILED vcf/test/test_vcf.py::TestBcfToolsOutputWriter::testWrite - TypeError:... FAILED vcf/test/test_vcf.py::TestWriterDictionaryMeta::testWrite - TypeError:... FAILED vcf/test/test_vcf.py::TestSampleFilter::testSampleFilterModule - TypeE... FAILED vcf/test/test_vcf.py::TestRegression::test_null_mono - TypeError: "quo... FAILED vcf/test/test_vcf.py::TestUncalledGenotypes::test_write_uncalled - Typ... ============ 10 failed, 83 passed, 11 skipped, 2 warnings in 3.07s ============= E: pybuild pybuild:379: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_vcf/build; python3.11 -m pytest