
    j                     2    S SK Jr  S SKJr   " S S\5      rg)    )	IsLiteral)TestCasec                       \ rS rSrS rS rS rS rS rS r	S r
S	 rS
 rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS rS r S r!S  r"S!r#g")#Test   c                 0    U R                  S[        5        g )NzC
        x = 'foo'
        if x is 'foo':
            pass
        flakesr   selfs    U/var/www/html/KUNJ/venv/lib/python3.13/site-packages/pyflakes/test/test_is_literal.pytest_is_strTest.test_is_str         		    c                 0    U R                  S[        5        g )NzE
        x = b'foo'
        if x is b'foo':
            pass
        r	   r   s    r   test_is_bytesTest.test_is_bytes   r   r   c                 0    U R                  S[        5        g )NzE
        x = u'foo'
        if x is u'foo':
            pass
        r	   r   s    r   test_is_unicodeTest.test_is_unicode   r   r   c                 0    U R                  S[        5        g )Nz=
        x = 10
        if x is 10:
            pass
        r	   r   s    r   test_is_intTest.test_is_int   r   r   c                 &    U R                  S5        g )NzA
        x = True
        if x is True:
            pass
        r
   r   s    r   test_is_trueTest.test_is_true"         	r   c                 &    U R                  S5        g )NzC
        x = False
        if x is False:
            pass
        r   r   s    r   test_is_falseTest.test_is_false)   r   r   c                 0    U R                  S[        5        g )NzG
        x = 'foo'
        if x is not 'foo':
            pass
        r	   r   s    r   test_is_not_strTest.test_is_not_str0   r   r   c                 0    U R                  S[        5        g )NzI
        x = b'foo'
        if x is not b'foo':
            pass
        r	   r   s    r   test_is_not_bytesTest.test_is_not_bytes7   r   r   c                 0    U R                  S[        5        g )NzI
        x = u'foo'
        if x is not u'foo':
            pass
        r	   r   s    r   test_is_not_unicodeTest.test_is_not_unicode>   r   r   c                 0    U R                  S[        5        g )NzA
        x = 10
        if x is not 10:
            pass
        r	   r   s    r   test_is_not_intTest.test_is_not_intE   r   r   c                 &    U R                  S5        g )NzE
        x = True
        if x is not True:
            pass
        r   r   s    r   test_is_not_trueTest.test_is_not_trueL   r   r   c                 &    U R                  S5        g )NzG
        x = False
        if x is not False:
            pass
        r   r   s    r   test_is_not_falseTest.test_is_not_falseS   r   r   c                 0    U R                  S[        5        g )NzC
        x = 'foo'
        if 'foo' is x:
            pass
        r	   r   s    r   test_left_is_strTest.test_left_is_strZ   r   r   c                 0    U R                  S[        5        g )NzE
        x = b'foo'
        if b'foo' is x:
            pass
        r	   r   s    r   test_left_is_bytesTest.test_left_is_bytesa   r   r   c                 0    U R                  S[        5        g )NzE
        x = u'foo'
        if u'foo' is x:
            pass
        r	   r   s    r   test_left_is_unicodeTest.test_left_is_unicodeh   r   r   c                 0    U R                  S[        5        g )Nz=
        x = 10
        if 10 is x:
            pass
        r	   r   s    r   test_left_is_intTest.test_left_is_into   r   r   c                 &    U R                  S5        g )NzA
        x = True
        if True is x:
            pass
        r   r   s    r   test_left_is_trueTest.test_left_is_truev   r   r   c                 &    U R                  S5        g )NzC
        x = False
        if False is x:
            pass
        r   r   s    r   test_left_is_falseTest.test_left_is_false}   r   r   c                 0    U R                  S[        5        g )NzG
        x = 'foo'
        if 'foo' is not x:
            pass
        r	   r   s    r   test_left_is_not_strTest.test_left_is_not_str   r   r   c                 0    U R                  S[        5        g )NzI
        x = b'foo'
        if b'foo' is not x:
            pass
        r	   r   s    r   test_left_is_not_bytesTest.test_left_is_not_bytes   r   r   c                 0    U R                  S[        5        g )NzI
        x = u'foo'
        if u'foo' is not x:
            pass
        r	   r   s    r   test_left_is_not_unicodeTest.test_left_is_not_unicode   r   r   c                 0    U R                  S[        5        g )NzA
        x = 10
        if 10 is not x:
            pass
        r	   r   s    r   test_left_is_not_intTest.test_left_is_not_int   r   r   c                 &    U R                  S5        g )NzE
        x = True
        if True is not x:
            pass
        r   r   s    r   test_left_is_not_trueTest.test_left_is_not_true   r   r   c                 &    U R                  S5        g )NzG
        x = False
        if False is not x:
            pass
        r   r   s    r   test_left_is_not_falseTest.test_left_is_not_false   r   r   c                 &    U R                  S5        g )NzB
        x = 5
        if x is True < 4:
            pass
        r   r   s    r   test_chained_operators_is_true#Test.test_chained_operators_is_true   r   r   c                 0    U R                  S[        5        g )NzC
        x = 5
        if x is 'foo' < 4:
            pass
        r	   r   s    r   test_chained_operators_is_str"Test.test_chained_operators_is_str   r   r   c                 &    U R                  S5        g )NzB
        x = 5
        if 4 < x is True:
            pass
        r   r   s    r   "test_chained_operators_is_true_end'Test.test_chained_operators_is_true_end   r   r   c                 0    U R                  S[        5        g )NzC
        x = 5
        if 4 < x is 'foo':
            pass
        r	   r   s    r   !test_chained_operators_is_str_end&Test.test_chained_operators_is_str_end   r   r   c                 0    U R                  S[        5        g )NzG            x = 5
            if x is ():
                pass
        r	   r   s    r   test_is_tuple_constantTest.test_is_tuple_constant   r   r   c                 0    U R                  S[        5        g )Nz^            x = 5
            if x is (1, '2', True, (1.5, ())):
                pass
        r	   r   s    r   +test_is_tuple_constant_containing_constants0Test.test_is_tuple_constant_containing_constants   r   r   c                 &    U R                  S5        g )NzI            x = 5
            if x is (x,):
                pass
        r   r   s    r   %test_is_tuple_containing_variables_ok*Test.test_is_tuple_containing_variables_ok   s      	r    N)$__name__
__module____qualname____firstlineno__r   r   r   r   r   r!   r$   r'   r*   r-   r0   r3   r6   r9   r<   r?   rB   rE   rH   rK   rN   rQ   rT   rW   rZ   r]   r`   rc   rf   ri   rl   __static_attributes__rn   r   r   r   r      s    r   r   N)pyflakes.messagesr   pyflakes.test.harnessr   r   rn   r   r   <module>rv      s    ' *Y8 Yr   