code: def test_bin_unsigned(self):
      # Positive constants
      self.assertEqual(0b10000000000000000000000000000000, 2147483648)
      self.assertEqual(0b11111111111111111111111111111111, 4294967295)
      # Ditto with a minus sign and parentheses
      self.assertEqual(
          -(0b10000000000000000000000000000000), -2147483648
      )
      self.assertEqual(
          -(0b11111111111111111111111111111111), -4294967295
      )
      # Ditto with a minus sign and NO parentheses
      # This failed in Python 2.2 through 2.2.2 and in 2.3a1
      self.assertEqual(-0b10000000000000000000000000000000, -2147483648)
      self.assertEqual(-0b11111111111111111111111111111111, -4294967295)
  
      # Positive constants
      self.assertEqual(
          0b1000000000000000000000000000000000000000000000000000000000000000,
          9223372036854775808,
      )
      self.assertEqual(
          0b1111111111111111111111111111111111111111111111111111111111111111,
          18446744073709551615,
      )
      # Ditto with a minus sign and parentheses
      self.assertEqual(
          -(
              0b1000000000000000000000000000000000000000000000000000000000000000
          ),
          -9223372036854775808,
      )
      self.assertEqual(
          -(
              0b1111111111111111111111111111111111111111111111111111111111111111
          ),
          -18446744073709551615,
      )
      # Ditto with a minus sign and NO parentheses
      # This failed in Python 2.2 through 2.2.2 and in 2.3a1
      self.assertEqual(
          -0b1000000000000000000000000000000000000000000000000000000000000000,
          -9223372036854775808,
      )
      self.assertEqual(
          -0b1111111111111111111111111111111111111111111111111111111111111111,
          -18446744073709551615,
      )
  
file_path: cpython/Lib/test/test_int_literal.py
imports: import unittest
label_desc: Use image node_id 6 for calling the TestHexOctBin obj's underlying member method code with example usage: obj.test_bin_unsigned() without return types