          assert_equal(bits.pairwise_swap(0), 0)
          assert_equal(bits.pairwise_swap(1), 1)
          num = int('0000100111110110', base=2)
          expected = int('0000011011111001', base=2)
          assert_equal(bits.pairwise_swap(num), expected)
          assert_raises(TypeError, bits.pairwise_swap, None)
          
          print('Success: test_pairwise_swap')
  
  
  def main():
 
</s> remove         assert_equal(bits.pairwise_swap(0), 0)
        assert_equal(bits.pairwise_swap(1), 1)
 </s> add         self.assertEqual(bits.pairwise_swap(0), 0)
        self.assertEqual(bits.pairwise_swap(1), 1) </s> remove     "        assert_equal(bits.pairwise_swap(num), expected)\n",
    "        assert_raises(TypeError, bits.pairwise_swap, None)\n",
 </s> add     "        self.assertEqual(bits.pairwise_swap(num), expected)\n",
    "        self.assertRaises(TypeError, bits.pairwise_swap, None)\n", </s> remove         assert_raises(TypeError, bits.flip_bit, None)
        assert_equal(bits.flip_bit(0), 1)
        assert_equal(bits.flip_bit(-1), bits.MAX_BITS)
 </s> add         self.assertRaises(TypeError, bits.flip_bit, None)
        self.assertEqual(bits.flip_bit(0), 1)
        self.assertEqual(bits.flip_bit(-1), bits.MAX_BITS) </s> remove     "        assert_equal(bits.pairwise_swap(0), 0)\n",
    "        assert_equal(bits.pairwise_swap(1), 1)\n",
 </s> add     "        self.assertEqual(bits.pairwise_swap(0), 0)\n",
    "        self.assertEqual(bits.pairwise_swap(1), 1)\n", </s> remove         assert_equal(bits.get_next_smallest(num), expected)
 </s> add         self.assertEqual(bits.get_next_smallest(num), expected)
        self.assertEqual(bits.pairwise_swap(num), expected)
        self.assertRaises(TypeError, bits.pairwise_swap, None)
          assert_equal(bits.pairwise_swap(0), 0)
          assert_equal(bits.pairwise_swap(1), 1)
          num = int('0000100111110110', base=2)
          expected = int('0000011011111001', base=2)
        self.assertEqual(bits.pairwise_swap(num), expected)
        self.assertRaises(TypeError, bits.pairwise_swap, None)
        self.assertEqual(bits.pairwise_swap(num), expected)
        self.assertRaises(TypeError, bits.pairwise_swap, None)
          
          print('Success: test_pairwise_swap')
  
  
  def main():
keep keep keep keep replace replace keep keep keep keep keep
 #273: Remove nose dependency for bit_manipulation/ (#279) 
bit_manipulation/pairwise_swap/test_pairwise_swap.py