forked from Rust-related/RustPython
whitespace and thus printable are excluded because i haven't found a way to make tests pass.
14 lines
635 B
Python
14 lines
635 B
Python
import string
|
|
|
|
|
|
assert string.ascii_letters == 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
assert string.ascii_lowercase == 'abcdefghijklmnopqrstuvwxyz'
|
|
assert string.ascii_uppercase == 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
assert string.digits == '0123456789'
|
|
assert string.hexdigits == '0123456789abcdefABCDEF'
|
|
assert string.octdigits == '01234567'
|
|
assert string.punctuation == '!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'
|
|
# FIXME
|
|
#assert string.whitespace == ' \t\n\r\x0b\x0c', string.whitespace
|
|
#assert string.printable == '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~ \t\n\r\x0b\x0c'
|