Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(11)  |  Call(11)  |  Derive(0)  |  Import(0)

src/i/n/instrumental-0.5.1/instrumental/recorder.py   instrumental(Download)
            recorder_call = deepcopy(base_call)
            recorder_call.args.insert(0, node.values[i])
            recorder_call.args.append(ast.copy_location(ast.Num(n=i), node.values[i]))
            node.values[i] = ast.copy_location(recorder_call, node.values[i])
        ast.fix_missing_locations(node)
                                  ctx=ast.Load())
        kall.args = [ast.Str(s=modulename),
                     ast.Num(n=lineno),
                     ]
        kall.keywords = []

src/i/n/instrumental-0.5.1/instrumental/test/test_boolean_evaluator.py   instrumental(Download)
    def test_IfExp_with_literal_non_literal_test(self):
        from astkit import ast
        test = ast.Name(id='a')
        body = ast.Num(n=4)
        orelse = ast.Name(id='c')
    def test_IfExp_with_literal_body_truthy(self):
        from astkit import ast
        test = ast.Name(id='True')
        body = ast.Num(n=4)
        orelse = ast.Name(id='c')
    def test_IfExp_with_literal_body_falsy(self):
        from astkit import ast
        test = ast.Name(id='True')
        body = ast.Num(n=0)
        orelse = ast.Name(id='c')
    def test_IfExp_with_literal_orelse_truthy(self):
        from astkit import ast
        test = ast.Name(id='False')
        body = ast.Name(id='b')
        orelse = ast.Num(n=4)
    def test_IfExp_with_literal_orelse_falsy(self):
        from astkit import ast
        test = ast.Name(id='False')
        body = ast.Name(id='b')
        orelse = ast.Num(n=0)

src/i/n/instrumental-0.5.1/instrumental/test/test_json_storage.py   instrumental(Download)
    def test_encode_Node_with_list_attribute(self):
        from instrumental.storage import ObjectEncoder as OE
        node = ast.Compare(left=ast.Name(id='a'),
                           ops=[ast.Eq()],
                           comparators=[ast.Num(n=4)])
    def test_encode_BooleanDecision(self):
        from instrumental.storage import ObjectEncoder as OE
        node = ast.Compare(left=ast.Name(id='a'),
                           ops=[ast.Eq()],
                           comparators=[ast.Num(n=4)],
    def test_encode_Comparison(self):
        from instrumental.storage import ObjectEncoder as OE
        node = ast.Compare(left=ast.Name(id='a'),
                           ops=[ast.Eq()],
                           comparators=[ast.Num(n=4)],