def test_pretty_flags(): assert dis.pretty_flags(1) == '0x00000001 (OPTIMIZED)'
def test_pretty_flags_no_flags(self): self.assertEqual(dis.pretty_flags(0), '0x00000000 (0x0)')