982c9fb609331a1caf01e37e6cabc5ec1046c280,reframe/core/modules.py,Module,__repr__,#Module#,42

Before Change




    def __repr__(self):
        return self.__str__()


    def __str__(self):
        if self.version:

After Change


        return not self.__eq__(other)

    def __repr__(self):
        return debug.repr(self)

    def __str__(self):
        if self.version:
            return "%s/%s" % (self.name, self.version)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: eth-cscs/reframe
Commit Name: 982c9fb609331a1caf01e37e6cabc5ec1046c280
Time: 2017-09-25
Author: karakasis@cscs.ch
File Name: reframe/core/modules.py
Class Name: Module
Method Name: __repr__


Project Name: eth-cscs/reframe
Commit Name: 982c9fb609331a1caf01e37e6cabc5ec1046c280
Time: 2017-09-25
Author: karakasis@cscs.ch
File Name: reframe/core/environments.py
Class Name: Environment
Method Name: __repr__


Project Name: brian-team/brian2
Commit Name: e660b6f686fccd6e7ea5ed2ffdec7901ae0f26a5
Time: 2012-11-08
Author: marcel.stimberg@ens.fr
File Name: brian2/units/fundamentalunits.py
Class Name: DimensionMismatchError
Method Name: __repr__