Library / Code module
ensure_unicode from xdoctest
ensure_unicode
ensure_unicode from xdoctest (docstring parsing and text utilities): Casts bytes into utf8 (mostly for python2 compatibility) One tested Python function, copied with the code it needs.
ATTRIBUTION.md1.5 KBLICENSE1.0 KBREADME.md649 bytesUPSTREAM-LICENSE11.1 KBtest_xdoctest_ensure_unicode.py451 bytesxdoctest_ensure_unicode.py1.3 KB
Full files in your harness.
What it takes and gives
- Function
ensure_unicode- Project
- xdoctest (docstring parsing and text utilities)
- Module
xdoctest_ensure_unicode.py
Details
- Kind
- Code module
- Licence
- MIT AND Apache-2.0
- Declared effects
- runs commands
- Source
- github.com/Erotemic/xdoctest/src/xdoctest/utils/util_str.py
- Size
- 6 files, 15.9 KB
- Identity
library.supply.function_extracts.670d26887e3f3fd3d400d240.2b8d9c0dca9e0bf8- Version
2b8d9c0dca9e0bf8fd9bb3795b458edfbb5ea024fe5e540ea2e21dd803eff8e8
The version is the SHA-256 of the item your harness downloads; every file in it names its own checksum.
Where it is shown
- Text, Unicode and encodingsCorner cases
Related components
Something wrong with this item, its rights or its safety? Report it on the support page, or from your harness after a download.