Lines Matching refs:WO
2228 WO = 1 variable in TestFlag.Open
2257 self.assertEqual(str(Open.WO), 'Open.WO')
2260 self.assertEqual(str(Open.WO | Open.CE), 'Open.CE|WO')
2262 self.assertEqual(str(~Open.WO), 'Open.CE|RW')
2265 self.assertEqual(str(~(Open.WO | Open.CE)), 'Open.RW')
2284 self.assertEqual(repr(Open.WO), '<Open.WO: 1>')
2287 self.assertEqual(repr(Open.WO | Open.CE), '<Open.CE|WO: 524289>')
2289 self.assertEqual(repr(~Open.WO), '<Open.CE|RW: 524290>')
2292 self.assertEqual(repr(~(Open.WO | Open.CE)), '<Open.RW: 2>')
2355 self.assertIs(Open.WO & ~Open.WO, Open.RO)
2356 self.assertIs((Open.WO|Open.CE) & ~Open.WO, Open.CE)
2677 WO = 1 variable in TestIntFlag.Open
2701 self.assertTrue(isinstance(Open.WO | Open.RW, Open))
2702 self.assertEqual(Open.WO | Open.RW, 3)
2726 self.assertEqual(str(Open.WO), 'Open.WO')
2729 self.assertEqual(str(Open.WO | Open.CE), 'Open.CE|WO')
2732 self.assertEqual(str(~Open.WO), 'Open.CE|RW')
2735 self.assertEqual(str(~(Open.WO | Open.CE)), 'Open.RW')
2759 self.assertEqual(repr(Open.WO), '<Open.WO: 1>')
2762 self.assertEqual(repr(Open.WO | Open.CE), '<Open.CE|WO: 524289>')
2765 self.assertEqual(repr(~Open.WO), '<Open.CE|RW: -2>')
2768 self.assertEqual(repr(~(Open.WO | Open.CE)), '<Open.RW: -524290>')
2859 self.assertIs(Open.WO & ~Open.WO, Open.RO)
2860 self.assertIs((Open.WO|Open.CE) & ~Open.WO, Open.CE)