Lines Matching refs:NamedInt
1581 class NamedInt(int):
1582 __qualname__ = 'NamedInt' # needed for pickle protocol 4
1615 if isinstance(self, NamedInt) and isinstance(other, NamedInt):
1616 return NamedInt(
1623 class NEI(NamedInt, Enum):
1630 self.assertEqual(repr(NEI.x + NEI.y), "NamedInt('(the-x + the-y)', 3)")
1631 globals()['NamedInt'] = NamedInt
1633 NI5 = NamedInt('test', 5)
1641 class NamedInt(int):
1642 __qualname__ = 'NamedInt' # needed for pickle protocol 4
1675 if isinstance(self, NamedInt) and isinstance(other, NamedInt):
1676 return NamedInt(
1683 class NEI(NamedInt, Enum):
1690 self.assertEqual(repr(NEI.x + NEI.y), "NamedInt('(the-x + the-y)', 3)")
1691 globals()['NamedInt'] = NamedInt
1693 NI5 = NamedInt('test', 5)
1701 class NamedInt(int):
1702 __qualname__ = 'NamedInt' # needed for pickle protocol 4
1735 if isinstance(self, NamedInt) and isinstance(other, NamedInt):
1736 return NamedInt(
1743 class NEI(NamedInt, Enum):
1750 self.assertEqual(repr(NEI.x + NEI.y), "NamedInt('(the-x + the-y)', 3)")
1751 globals()['NamedInt'] = NamedInt
1753 NI5 = NamedInt('test', 5)
1761 class NamedInt(int):
1762 __qualname__ = 'NamedInt' # needed for pickle protocol 4
1795 if isinstance(self, NamedInt) and isinstance(other, NamedInt):
1796 return NamedInt(
1803 class NEI(NamedInt, Enum):
1809 self.assertEqual(repr(NEI.x + NEI.y), "NamedInt('(the-x + the-y)', 3)")
1810 globals()['NamedInt'] = NamedInt
1812 NI5 = NamedInt('test', 5)
1820 class NamedInt(int):
1821 __qualname__ = 'NamedInt'
1852 if isinstance(self, NamedInt) and isinstance(other, NamedInt):
1853 return NamedInt(
1859 class NEI(NamedInt, Enum):
1865 self.assertEqual(repr(NEI.x + NEI.y), "NamedInt('(the-x + the-y)', 3)")
1866 globals()['NamedInt'] = NamedInt
1868 NI5 = NamedInt('test', 5)
1875 class NamedInt(int):
1876 __qualname__ = 'NamedInt'
1907 if isinstance(self, NamedInt) and isinstance(other, NamedInt):
1908 return NamedInt(
1915 class NEI(NamedInt, Enum):
1923 self.assertEqual(repr(NEI.x + NEI.y), "NamedInt('(the-x + the-y)', 3)")
1924 globals()['NamedInt'] = NamedInt
1926 NI5 = NamedInt('test', 5)