K i2ddlmZddlmZGddeZy)) IsLiteral)TestCaseceZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d Zd ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!y )!Testc0|jdty)NzC x = 'foo' if x is 'foo': pass flakesrselfs c/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/pyflakes/test/test_is_literal.py test_is_strzTest.test_is_str    c0|jdty)NzE x = b'foo' if x is b'foo': pass rr s r test_is_byteszTest.test_is_bytes rrc0|jdty)NzE x = u'foo' if x is u'foo': pass rr s r test_is_unicodezTest.test_is_unicoderrc0|jdty)Nz= x = 10 if x is 10: pass rr s r test_is_intzTest.test_is_intrrc&|jdy)NzA x = True if x is True: pass r r s r test_is_truezTest.test_is_true"   rc&|jdy)NzC x = False if x is False: pass rr s r test_is_falsezTest.test_is_false)rrc0|jdty)NzG x = 'foo' if x is not 'foo': pass rr s r test_is_not_strzTest.test_is_not_str0rrc0|jdty)NzI x = b'foo' if x is not b'foo': pass rr s r test_is_not_byteszTest.test_is_not_bytes7rrc0|jdty)NzI x = u'foo' if x is not u'foo': pass rr s r test_is_not_unicodezTest.test_is_not_unicode>rrc0|jdty)NzA x = 10 if x is not 10: pass rr s r test_is_not_intzTest.test_is_not_intErrc&|jdy)NzE x = True if x is not True: pass rr s r test_is_not_truezTest.test_is_not_trueLrrc&|jdy)NzG x = False if x is not False: pass rr s r test_is_not_falsezTest.test_is_not_falseSrrc0|jdty)NzC x = 'foo' if 'foo' is x: pass rr s r test_left_is_strzTest.test_left_is_strZrrc0|jdty)NzE x = b'foo' if b'foo' is x: pass rr s r test_left_is_byteszTest.test_left_is_bytesarrc0|jdty)NzE x = u'foo' if u'foo' is x: pass rr s r test_left_is_unicodezTest.test_left_is_unicodehrrc0|jdty)Nz= x = 10 if 10 is x: pass rr s r test_left_is_intzTest.test_left_is_intorrc&|jdy)NzA x = True if True is x: pass rr s r test_left_is_truezTest.test_left_is_truevrrc&|jdy)NzC x = False if False is x: pass rr s r test_left_is_falsezTest.test_left_is_false}rrc0|jdty)NzG x = 'foo' if 'foo' is not x: pass rr s r test_left_is_not_strzTest.test_left_is_not_strrrc0|jdty)NzI x = b'foo' if b'foo' is not x: pass rr s r test_left_is_not_byteszTest.test_left_is_not_bytesrrc0|jdty)NzI x = u'foo' if u'foo' is not x: pass rr s r test_left_is_not_unicodezTest.test_left_is_not_unicoderrc0|jdty)NzA x = 10 if 10 is not x: pass rr s r test_left_is_not_intzTest.test_left_is_not_intrrc&|jdy)NzE x = True if True is not x: pass rr s r test_left_is_not_truezTest.test_left_is_not_truerrc&|jdy)NzG x = False if False is not x: pass rr s r test_left_is_not_falsezTest.test_left_is_not_falserrc&|jdy)NzB x = 5 if x is True < 4: pass rr s r test_chained_operators_is_truez#Test.test_chained_operators_is_truerrc0|jdty)NzC x = 5 if x is 'foo' < 4: pass rr s r test_chained_operators_is_strz"Test.test_chained_operators_is_strrrc&|jdy)NzB x = 5 if 4 < x is True: pass rr s r "test_chained_operators_is_true_endz'Test.test_chained_operators_is_true_endrrc0|jdty)NzC x = 5 if 4 < x is 'foo': pass rr s r !test_chained_operators_is_str_endz&Test.test_chained_operators_is_str_endrrc0|jdty)NzG x = 5 if x is (): pass rr s r test_is_tuple_constantzTest.test_is_tuple_constantrrc0|jdty)Nz^ x = 5 if x is (1, '2', True, (1.5, ())): pass rr s r +test_is_tuple_constant_containing_constantsz0Test.test_is_tuple_constant_containing_constantsrrc&|jdy)NzI x = 5 if x is (x,): pass rr s r %test_is_tuple_containing_variables_okz*Test.test_is_tuple_containing_variables_oks   rN)"__name__ __module__ __qualname__r rrrrrrrr!r#r%r'r)r+r-r/r1r3r5r7r9r;r=r?rArCrErGrIrKrMrr rrs           rrN)pyflakes.messagesrpyflakes.test.harnessrrrQrr rTs'*Y 8Y r