normality icon indicating copy to clipboard operation
normality copied to clipboard

A tiny library for Python text normalisation. Useful for ad-hoc text processing.

Results 2 normality issues
Sort by recently updated
recently updated
newest added

test_guess_encoding, test_petro_iso_encoded, test_predict_encoding are failing in 2.5.0 with Python 3.12: ``` ============================= test session starts ============================== platform linux -- Python 3.12.0, pytest-7.4.2, pluggy-1.3.0 rootdir: /builddir/build/BUILD/normality-2.5.0 collected 19 items tests/test_normality.py .....F..F.F.......

Hi, The difference in `float` and `Decimal` floating point representations may lead to discrepancies when converting from one type to another. Here is an excerpt from https://docs.python.org/3/library/decimal.html#module-decimal: > If value...