# Path: foil/formatters.py
# def format_repr(obj, attributes) -> str:
#     """Format an object's repr method with specific attributes."""
# 
#     attribute_repr = ', '.join(('{}={}'.format(attr, repr(getattr(obj, attr)))
#                                 for attr in attributes))
#     return "{0}({1})".format(obj.__class__.__qualname__, attribute_repr)
# 
# def format_repr_info(obj, attributes) -> str:
#     """Format an object's repr method indicating it's not for eval()."""
# 
#     return '<{}>'.format(format_repr(obj, attributes))


import unittest
from foil.formatters import format_repr, format_repr_info



class Klass:
    def __init__(self, z, y):
        self.z = z
        self.y = y


class TestObjectReprFormatters(unittest.TestCase):
    def setUp(self):
        self.obj = Klass('hello', 10)
        self.attributes = ['z', 'y']

    def test_format_repr(self):
        result = format_repr(self.obj, self.attributes)
        expected = "Klass(z='hello', y=10)"

        self.assertEqual(expected, result)


# Path: foil/formatters.py
# def format_repr(obj, attributes) -> str:
#     """Format an object's repr method with specific attributes."""
# 
#     attribute_repr = ', '.join(('{}={}'.format(attr, repr(getattr(obj, attr)))
#                                 for attr in attributes))
#     return "{0}({1})".format(obj.__class__.__qualname__, attribute_repr)
# 
# def format_repr_info(obj, attributes) -> str:
#     """Format an object's repr method indicating it's not for eval()."""
# 
#     return '<{}>'.format(format_repr(obj, attributes))


# Path: tests/test_formatters.py
import unittest
from foil.formatters import format_repr, format_repr_info




class Klass:
    def __init__(self, z, y):
        self.z = z
        self.y = y


class TestObjectReprFormatters(unittest.TestCase):
    def setUp(self):
        self.obj = Klass('hello', 10)
        self.attributes = ['z', 'y']

    def test_format_repr(self):
        result = format_repr(self.obj, self.attributes)
        expected = "Klass(z='hello', y=10)"

        self.assertEqual(expected, result)


    def test_format_repr_info(self):