# encoding: utf-8

'''
.. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
'''

from __future__ import absolute_import, print_function, unicode_literals


def print_test_result(expected, actual):
    print("[expected]\n{}\n".format(expected))
    print("[actual]\n{}\n".format(actual))

# encoding: utf-8

'''
.. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
'''

from __future__ import absolute_import, print_function, unicode_literals

import sys


def print_test_result(expected, actual, error=None):
    print("[expected]\n{}\n".format(expected))
    print("[actual]\n{}\n".format(actual))

    if error:
        print(error, file=sys.stderr)

Add an argument to print stderr of test results
Add an argument to print stderr of test results
