def testStr(self): Gst.init(None) r = Gst.Bitmask(1 << 5) if sys.version_info >= (3, 0): self.assertEqual(str(r), '0x20') else: self.assertEqual(str(r), '0x20L')
def testConstructor(self): Gst.init(None) r = Gst.Bitmask(1 << 5) self.assertEqual(r, 1 << 5)
def testStr(self): Gst.init(None) r = Gst.Bitmask(1 << 5) self.assertEqual(str(r), '0x20')