mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-02 03:14:57 +08:00
e33fa988f2
_convert_asset_str_fields was added to address the fact that the unicode returned by SQLAlchemy was causing test failures, in particular test_repr and test_root_symbols failed because of the leading 'u' character in the unicode of python-2.x. Later it was pointed out that this method would behave differently in python 2 and 3, in particular the str() method would return bytes in python 2 and unicode in python 3. After investigating it was found that the _convert_asset_str_fields was no longer necessary. It is unclear why the original tests were failing. It is not due to SQLAlchemy versions, as tests pass for version >1 and <1.