# Path: chirp/common/printing.py
# class CustomPrint(object):
#     def __init__(self):
#     def __call__(self, message=None, **kwargs):
#     def default_write(self, message=None, **kwargs):
#     def use_write_function(self, func):


import unittest
from chirp.common.printing import cprint



class TestCustomPrint(unittest.TestCase):

    def test_print_unicode(self):
        cprint(u'Ivan Krsti\u0107')

    def test_print_bytes(self):

# Path: chirp/common/printing.py
# class CustomPrint(object):
#     def __init__(self):
#     def __call__(self, message=None, **kwargs):
#     def default_write(self, message=None, **kwargs):
#     def use_write_function(self, func):


# Path: chirp/common/printing_test.py
import unittest
from chirp.common.printing import cprint




class TestCustomPrint(unittest.TestCase):

    def test_print_unicode(self):
        cprint(u'Ivan Krsti\u0107')

    def test_print_bytes(self):

        cprint(u'Ivan Krsti\u0107'.encode('utf8'))