Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(4)  |  Derive(0)  |  Import(2)

src/n/i/nibabel-1.3.0/nisext/tests/test_doctest_markup.py   nibabel(Download)
""" Testing doctest markup tests
"""
 
import sys
from ..py3builder import doctest_markup, byter
def test_byter():
    # Test bytes formatter
    assert_equal('(b"hello \' world", b\'again\')',
                 byter('("hello \' world", "again")'))
    line = "_ = bio.write(' ' * 10)"
    assert_equal(
        byter(line),

src/n/i/nibabel-HEAD/nisext/tests/test_doctest_markup.py   nibabel(Download)
""" Testing doctest markup tests
"""
 
import sys
from ..py3builder import doctest_markup, byter
def test_byter():
    # Test bytes formatter
    assert_equal('(b"hello \' world", b\'again\')',
                 byter('("hello \' world", "again")'))
    line = "_ = bio.write(' ' * 10)"
    assert_equal(
        byter(line),