tests/test-byteify-strings.t
changeset 42723 11498aa91c03
parent 42722 f9b64ff9d26b
child 43379 bb509f39d387
equal deleted inserted replaced
42722:f9b64ff9d26b 42723:11498aa91c03
     1 #require py3
     1 #require py3
     2 
     2 
     3   $ byteify_strings () {
     3   $ byteify_strings () {
     4   >   $PYTHON "$TESTDIR/../contrib/byteify-strings.py" "$@"
     4   >   $PYTHON "$TESTDIR/../contrib/byteify-strings.py" "$@"
     5   > }
     5   > }
       
     6 
       
     7 Test version
       
     8 
       
     9   $ byteify_strings --version
       
    10   Byteify strings * (glob)
     6 
    11 
     7 Test in-place
    12 Test in-place
     8 
    13 
     9   $ cat > testfile.py <<EOF
    14   $ cat > testfile.py <<EOF
    10   > obj['test'] = b"1234"
    15   > obj['test'] = b"1234"