a0abcd0905c7655d27e2d7159a8ab269a1c6ed0f,unittests/test_modules.py,_TestModulesSystem,setUp,#_TestModulesSystem#,14

Before Change



class _TestModulesSystem(abc.ABC):
    def setUp(self):
        self.environ_save = EnvironmentSnapshot()
        self.modules_system.searchpath_add(TEST_MODULES)

    def tearDown(self):
        self.environ_save.load()

After Change



class _TestModulesSystem(abc.ABC):
    def setUp(self):
        self.environ_save = env.snapshot()
        self.modules_system.searchpath_add(TEST_MODULES)

    def tearDown(self):
        self.environ_save.restore()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: eth-cscs/reframe
Commit Name: a0abcd0905c7655d27e2d7159a8ab269a1c6ed0f
Time: 2019-10-07
Author: karakasis@cscs.ch
File Name: unittests/test_modules.py
Class Name: _TestModulesSystem
Method Name: setUp


Project Name: eth-cscs/reframe
Commit Name: a0abcd0905c7655d27e2d7159a8ab269a1c6ed0f
Time: 2019-10-07
Author: karakasis@cscs.ch
File Name: reframe/frontend/executors/__init__.py
Class Name: RegressionTask
Method Name: setup


Project Name: eth-cscs/reframe
Commit Name: a0abcd0905c7655d27e2d7159a8ab269a1c6ed0f
Time: 2019-10-07
Author: karakasis@cscs.ch
File Name: reframe/frontend/executors/__init__.py
Class Name: Runner
Method Name: __init__