# Path: pyrap/util.py



import unittest
from pyrap.util import substitute


def f1(arg):
    a = 3
    s = substitute('subs as $a $arg', locals=locals())
    print(a, arg, s)


class TestUtil(unittest.TestCase):
    def test_util(self):
        a = 1
        b = 2

# Path: pyrap/util.py



# Path: tests/test_util.py
import unittest
from pyrap.util import substitute



def f1(arg):
    a = 3
    s = substitute('subs as $a $arg', locals=locals())
    print(a, arg, s)


class TestUtil(unittest.TestCase):
    def test_util(self):
        a = 1
        b = 2

        p = "$((a+b)*(a+b))"