import sys


if sys.maxsize > 2 ** 32:
    from PyObjCTools.TestSupport import TestCase, min_os_level
    import Contacts

    class TestCNPostalAddressFormatter(TestCase):
        @min_os_level("10.11")
        def testConstants(self):
            self.assertEqual(Contacts.CNPostalAddressFormatterStyleMailingAddress, 0)
            self.assertIsInstance(Contacts.CNPostalAddressPropertyAttribute, str)
            self.assertIsInstance(
                Contacts.CNPostalAddressLocalizedPropertyNameAttribute, str
            )
