Source: python-dawg
Version: 0.5.2-1
Severity: serious
Justification: fails to build from source
python-dawg FTBFS:
| env python2.7 debian/run-tests.py
| /usr/lib/python2.7/dist-packages/_pytest/assertion/oldinterpret.py:3:
DeprecationWarning: The compiler package is deprecated and removed in Python
3.x.
| from compiler import parse, ast, pycodegen
| ============================= test session starts
==============================
| platform linux2 -- Python 2.7.5 -- pytest-2.2.4
| collecting ... collected 79 items
|
| tests/test_dawg.py ...................
| tests/test_payload_dawg.py FFFF.FFF.FFFFFFF
| tests/test_prediction.py ...........FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
|
| =================================== FAILURES
===================================
| _________________________ TestBytesDAWG.test_contains
__________________________
|
| self = <tests.test_payload_dawg.TestBytesDAWG object at 0x2b46d50>
|
| def test_contains(self):
| > d = self.dawg()
|
| tests/test_payload_dawg.py:22:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_
|
| self = <tests.test_payload_dawg.TestBytesDAWG object at 0x2b46d50>, kwargs =
{}
|
| def dawg(self, **kwargs):
| > return dawg.BytesDAWG(self.DATA, **kwargs)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_payload_dawg.py:19: TypeError
| __________________________ TestBytesDAWG.test_getitem
__________________________
|
| self = <tests.test_payload_dawg.TestBytesDAWG object at 0x2b01d10>
|
| def test_getitem(self):
| > d = self.dawg()
|
| tests/test_payload_dawg.py:32:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_
|
| self = <tests.test_payload_dawg.TestBytesDAWG object at 0x2b01d10>, kwargs =
{}
|
| def dawg(self, **kwargs):
| > return dawg.BytesDAWG(self.DATA, **kwargs)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_payload_dawg.py:19: TypeError
| _________________________ TestBytesDAWG.test_prefixes
__________________________
|
| self = <tests.test_payload_dawg.TestBytesDAWG object at 0x2b5b410>
|
| def test_prefixes(self):
| > d = self.dawg()
|
| tests/test_payload_dawg.py:51:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_
|
| self = <tests.test_payload_dawg.TestBytesDAWG object at 0x2b5b410>, kwargs =
{}
|
| def dawg(self, **kwargs):
| > return dawg.BytesDAWG(self.DATA, **kwargs)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_payload_dawg.py:19: TypeError
| ___________________________ TestBytesDAWG.test_keys
____________________________
|
| self = <tests.test_payload_dawg.TestBytesDAWG object at 0x2b77d10>
|
| def test_keys(self):
| > d = self.dawg()
|
| tests/test_payload_dawg.py:57:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_
|
| self = <tests.test_payload_dawg.TestBytesDAWG object at 0x2b77d10>, kwargs =
{}
|
| def dawg(self, **kwargs):
| > return dawg.BytesDAWG(self.DATA, **kwargs)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_payload_dawg.py:19: TypeError
| _________________________ TestBytesDAWG.test_iterkeys
__________________________
|
| self = <tests.test_payload_dawg.TestBytesDAWG object at 0x2b07dd0>
|
| def test_iterkeys(self):
| > d = self.dawg()
|
| tests/test_payload_dawg.py:70:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_
|
| self = <tests.test_payload_dawg.TestBytesDAWG object at 0x2b07dd0>, kwargs =
{}
|
| def dawg(self, **kwargs):
| > return dawg.BytesDAWG(self.DATA, **kwargs)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_payload_dawg.py:19: TypeError
| ___________________________ TestBytesDAWG.test_items
___________________________
|
| self = <tests.test_payload_dawg.TestBytesDAWG object at 0x2b20190>
|
| def test_items(self):
| > d = self.dawg()
|
| tests/test_payload_dawg.py:75:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_
|
| self = <tests.test_payload_dawg.TestBytesDAWG object at 0x2b20190>, kwargs =
{}
|
| def dawg(self, **kwargs):
| > return dawg.BytesDAWG(self.DATA, **kwargs)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_payload_dawg.py:19: TypeError
| _________________________ TestBytesDAWG.test_iteritems
_________________________
|
| self = <tests.test_payload_dawg.TestBytesDAWG object at 0x2b5b050>
|
| def test_iteritems(self):
| > d = self.dawg()
|
| tests/test_payload_dawg.py:79:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_
|
| self = <tests.test_payload_dawg.TestBytesDAWG object at 0x2b5b050>, kwargs =
{}
|
| def dawg(self, **kwargs):
| > return dawg.BytesDAWG(self.DATA, **kwargs)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_payload_dawg.py:19: TypeError
| ______________________ TestRecordDAWG.test_record_getitem
______________________
|
| self = <tests.test_payload_dawg.TestRecordDAWG object at 0x2b07490>
|
| def test_record_getitem(self):
| > d = self.dawg()
|
| tests/test_payload_dawg.py:101:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_
|
| self = <tests.test_payload_dawg.TestRecordDAWG object at 0x2b07490>
|
| def dawg(self):
| > return dawg.RecordDAWG(">3H", self.STRUCTURED_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_payload_dawg.py:98: TypeError
| _______________________ TestRecordDAWG.test_record_items
_______________________
|
| self = <tests.test_payload_dawg.TestRecordDAWG object at 0x2b77710>
|
| def test_record_items(self):
| > d = self.dawg()
|
| tests/test_payload_dawg.py:107:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_
|
| self = <tests.test_payload_dawg.TestRecordDAWG object at 0x2b77710>
|
| def dawg(self):
| > return dawg.RecordDAWG(">3H", self.STRUCTURED_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_payload_dawg.py:98: TypeError
| _______________________ TestRecordDAWG.test_record_keys
________________________
|
| self = <tests.test_payload_dawg.TestRecordDAWG object at 0x2b6f490>
|
| def test_record_keys(self):
| > d = self.dawg()
|
| tests/test_payload_dawg.py:111:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_
|
| self = <tests.test_payload_dawg.TestRecordDAWG object at 0x2b6f490>
|
| def dawg(self):
| > return dawg.RecordDAWG(">3H", self.STRUCTURED_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_payload_dawg.py:98: TypeError
| _____________________ TestRecordDAWG.test_record_iterkeys
______________________
|
| self = <tests.test_payload_dawg.TestRecordDAWG object at 0x2b206d0>
|
| def test_record_iterkeys(self):
| > d = self.dawg()
|
| tests/test_payload_dawg.py:115:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_
|
| self = <tests.test_payload_dawg.TestRecordDAWG object at 0x2b206d0>
|
| def dawg(self):
| > return dawg.RecordDAWG(">3H", self.STRUCTURED_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_payload_dawg.py:98: TypeError
| _____________________ TestRecordDAWG.test_record_iteritems
_____________________
|
| self = <tests.test_payload_dawg.TestRecordDAWG object at 0x2b46490>
|
| def test_record_iteritems(self):
| > d = self.dawg()
|
| tests/test_payload_dawg.py:119:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_
|
| self = <tests.test_payload_dawg.TestRecordDAWG object at 0x2b46490>
|
| def dawg(self):
| > return dawg.RecordDAWG(">3H", self.STRUCTURED_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_payload_dawg.py:98: TypeError
| ____________________ TestRecordDAWG.test_record_keys_prefix
____________________
|
| self = <tests.test_payload_dawg.TestRecordDAWG object at 0x2b77c50>
|
| def test_record_keys_prefix(self):
| > d = self.dawg()
|
| tests/test_payload_dawg.py:123:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_
|
| self = <tests.test_payload_dawg.TestRecordDAWG object at 0x2b77c50>
|
| def dawg(self):
| > return dawg.RecordDAWG(">3H", self.STRUCTURED_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_payload_dawg.py:98: TypeError
| _________________________ TestRecordDAWG.test_prefixes
_________________________
|
| self = <tests.test_payload_dawg.TestRecordDAWG object at 0x2b20790>
|
| def test_prefixes(self):
| > d = self.dawg()
|
| tests/test_payload_dawg.py:129:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_
|
| self = <tests.test_payload_dawg.TestRecordDAWG object at 0x2b20790>
|
| def dawg(self):
| > return dawg.RecordDAWG(">3H", self.STRUCTURED_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_payload_dawg.py:98: TypeError
| ______________ TestPrediction.test_record_dawg_prediction[.0-.1]
_______________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b46310>
| word = u'\u0423\u0416', prediction = []
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE)
| def test_record_dawg_prediction(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:53: TypeError
| ______________ TestPrediction.test_record_dawg_prediction[.2-.3]
_______________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b77a90>
| word = u'\u0415\u041c', prediction = [u'\u0415\u041c']
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE)
| def test_record_dawg_prediction(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:53: TypeError
| ______________ TestPrediction.test_record_dawg_prediction[.4-.5]
_______________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b77d90>
| word = u'\u0401\u041c', prediction = []
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE)
| def test_record_dawg_prediction(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:53: TypeError
| ______________ TestPrediction.test_record_dawg_prediction[.6-.7]
_______________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b07a50>
| word = u'\u0401\u0416', prediction = [u'\u0401\u0416']
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE)
| def test_record_dawg_prediction(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:53: TypeError
| ______________ TestPrediction.test_record_dawg_prediction[.8-.9]
_______________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b6f0d0>
| word = u'\u0415\u0416', prediction = [u'\u0401\u0416']
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE)
| def test_record_dawg_prediction(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:53: TypeError
| _____________ TestPrediction.test_record_dawg_prediction[.10-.11]
______________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b204d0>
| word = u'\u0401\u0416\u0418\u041a', prediction = [u'\u0401\u0416\u0418\u041a']
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE)
| def test_record_dawg_prediction(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:53: TypeError
| _____________ TestPrediction.test_record_dawg_prediction[.12-.13]
______________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b5bf10>
| word = u'\u0415\u0416\u0418\u041a\u0415'
| prediction = [u'\u0401\u0416\u0418\u041a\u0415']
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE)
| def test_record_dawg_prediction(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:53: TypeError
| _____________ TestPrediction.test_record_dawg_prediction[.14-.15]
______________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b77990>
| word = u'\u0414\u0415\u0420\u0415\u0412\u041d\u042f'
| prediction = [u'\u0414\u0415\u0420\u0415\u0412\u041d\u042f',
u'\u0414\u0415\u0420\u0401\u0412\u041d\u042f']
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE)
| def test_record_dawg_prediction(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:53: TypeError
| _____________ TestPrediction.test_record_dawg_prediction[.16-.17]
______________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b07290>
| word = u'\u0414\u0415\u0420\u0401\u0412\u041d\u042f'
| prediction = [u'\u0414\u0415\u0420\u0401\u0412\u041d\u042f']
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE)
| def test_record_dawg_prediction(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:53: TypeError
| _____________ TestPrediction.test_record_dawg_prediction[.18-.19]
______________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b20650>
| word = u'\u041e\u0417\u0415\u0420\u0410'
| prediction = [u'\u041e\u0417\u0415\u0420\u0410',
u'\u041e\u0417\u0401\u0420\u0410']
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE)
| def test_record_dawg_prediction(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:53: TypeError
| _____________ TestPrediction.test_record_dawg_prediction[.20-.21]
______________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b03110>
| word = u'\u041e\u0417\u0415\u0420\u041e'
| prediction = [u'\u041e\u0417\u0415\u0420\u041e']
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE)
| def test_record_dawg_prediction(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:53: TypeError
| _________________ TestPrediction.test_record_dawg_items[.0-.1]
_________________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b6fad0>
| word = u'\u0423\u0416', prediction = []
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE_ITEMS)
| def test_record_dawg_items(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:58: TypeError
| _________________ TestPrediction.test_record_dawg_items[.2-.3]
_________________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b079d0>
| word = u'\u0415\u041c', prediction = [(u'\u0415\u041c', [(2,)])]
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE_ITEMS)
| def test_record_dawg_items(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:58: TypeError
| _________________ TestPrediction.test_record_dawg_items[.4-.5]
_________________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b073d0>
| word = u'\u0401\u041c', prediction = []
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE_ITEMS)
| def test_record_dawg_items(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:58: TypeError
| _________________ TestPrediction.test_record_dawg_items[.6-.7]
_________________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b6f690>
| word = u'\u0401\u0416', prediction = [(u'\u0401\u0416', [(2,)])]
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE_ITEMS)
| def test_record_dawg_items(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:58: TypeError
| _________________ TestPrediction.test_record_dawg_items[.8-.9]
_________________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b6f850>
| word = u'\u0415\u0416', prediction = [(u'\u0401\u0416', [(2,)])]
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE_ITEMS)
| def test_record_dawg_items(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:58: TypeError
| ________________ TestPrediction.test_record_dawg_items[.10-.11]
________________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b20990>
| word = u'\u0401\u0416\u0418\u041a'
| prediction = [(u'\u0401\u0416\u0418\u041a', [(4,)])]
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE_ITEMS)
| def test_record_dawg_items(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:58: TypeError
| ________________ TestPrediction.test_record_dawg_items[.12-.13]
________________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b6f450>
| word = u'\u0415\u0416\u0418\u041a\u0415'
| prediction = [(u'\u0401\u0416\u0418\u041a\u0415', [(5,)])]
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE_ITEMS)
| def test_record_dawg_items(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:58: TypeError
| ________________ TestPrediction.test_record_dawg_items[.14-.15]
________________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b35210>
| word = u'\u0414\u0415\u0420\u0415\u0412\u041d\u042f'
| prediction = [(u'\u0414\u0415\u0420\u0415\u0412\u041d\u042f', [(7,)]),
(u'\u0414\u0415\u0420\u0401\u0412\u041d\u042f', [(7,)])]
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE_ITEMS)
| def test_record_dawg_items(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:58: TypeError
| ________________ TestPrediction.test_record_dawg_items[.16-.17]
________________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b20d90>
| word = u'\u0414\u0415\u0420\u0401\u0412\u041d\u042f'
| prediction = [(u'\u0414\u0415\u0420\u0401\u0412\u041d\u042f', [(7,)])]
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE_ITEMS)
| def test_record_dawg_items(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:58: TypeError
| ________________ TestPrediction.test_record_dawg_items[.18-.19]
________________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b03bd0>
| word = u'\u041e\u0417\u0415\u0420\u0410'
| prediction = [(u'\u041e\u0417\u0415\u0420\u0410', [(5,)]),
(u'\u041e\u0417\u0401\u0420\u0410', [(5,)])]
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE_ITEMS)
| def test_record_dawg_items(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:58: TypeError
| ________________ TestPrediction.test_record_dawg_items[.20-.21]
________________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b6f2d0>
| word = u'\u041e\u0417\u0415\u0420\u041e'
| prediction = [(u'\u041e\u0417\u0415\u0420\u041e', [(5,)])]
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE_ITEMS)
| def test_record_dawg_items(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:58: TypeError
| _____________ TestPrediction.test_record_dawg_items_values[.0-.1]
______________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b07b50>
| word = u'\u0423\u0416', prediction = []
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE_VALUES)
| def test_record_dawg_items_values(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:63: TypeError
| _____________ TestPrediction.test_record_dawg_items_values[.2-.3]
______________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b6fd90>
| word = u'\u0415\u041c', prediction = [[(2,)]]
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE_VALUES)
| def test_record_dawg_items_values(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:63: TypeError
| _____________ TestPrediction.test_record_dawg_items_values[.4-.5]
______________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b1e1d0>
| word = u'\u0401\u041c', prediction = []
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE_VALUES)
| def test_record_dawg_items_values(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:63: TypeError
| _____________ TestPrediction.test_record_dawg_items_values[.6-.7]
______________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b35b50>
| word = u'\u0401\u0416', prediction = [[(2,)]]
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE_VALUES)
| def test_record_dawg_items_values(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:63: TypeError
| _____________ TestPrediction.test_record_dawg_items_values[.8-.9]
______________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b6fa10>
| word = u'\u0415\u0416', prediction = [[(2,)]]
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE_VALUES)
| def test_record_dawg_items_values(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:63: TypeError
| ____________ TestPrediction.test_record_dawg_items_values[.10-.11]
_____________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b03910>
| word = u'\u0401\u0416\u0418\u041a', prediction = [[(4,)]]
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE_VALUES)
| def test_record_dawg_items_values(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:63: TypeError
| ____________ TestPrediction.test_record_dawg_items_values[.12-.13]
_____________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b1e6d0>
| word = u'\u0415\u0416\u0418\u041a\u0415', prediction = [[(5,)]]
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE_VALUES)
| def test_record_dawg_items_values(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:63: TypeError
| ____________ TestPrediction.test_record_dawg_items_values[.14-.15]
_____________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b20d10>
| word = u'\u0414\u0415\u0420\u0415\u0412\u041d\u042f'
| prediction = [[(7,)], [(7,)]]
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE_VALUES)
| def test_record_dawg_items_values(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:63: TypeError
| ____________ TestPrediction.test_record_dawg_items_values[.16-.17]
_____________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b6f6d0>
| word = u'\u0414\u0415\u0420\u0401\u0412\u041d\u042f', prediction = [[(7,)]]
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE_VALUES)
| def test_record_dawg_items_values(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:63: TypeError
| ____________ TestPrediction.test_record_dawg_items_values[.18-.19]
_____________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b1ecd0>
| word = u'\u041e\u0417\u0415\u0420\u0410', prediction = [[(5,)], [(5,)]]
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE_VALUES)
| def test_record_dawg_items_values(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:63: TypeError
| ____________ TestPrediction.test_record_dawg_items_values[.20-.21]
_____________
|
| self = <tests.test_prediction.TestPrediction object at 0x2b35ed0>
| word = u'\u041e\u0417\u0415\u0420\u041e', prediction = [[(5,)]]
|
| @pytest.mark.parametrize(("word", "prediction"), SUITE_VALUES)
| def test_record_dawg_items_values(self, word, prediction):
| > d = dawg.RecordDAWG(str("=H"), self.LENGTH_DATA)
| E TypeError: Argument 'payload_separator' has incorrect type (expected
str, got unicode)
|
| tests/test_prediction.py:63: TypeError
| ===================== 47 failed, 32 passed in 0.85 seconds
=====================
--
Jakub Wilk
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]