9ae1a832b36f8c6688e36e567e0aa129ea0a03e4,mne/utils/_logging.py,,warn,#Any#Any#Any#,249

Before Change


            fname = frame.f_code.co_filename
            lineno = frame.f_lineno
            // in verbose dec
            if _verbose_dec_re.match(fname) and \
                    last_fname == op.basename(__file__):
                last_fname = fname
                frame = frame.f_back
                continue

After Change


            fname = frame.f_code.co_filename
            lineno = frame.f_lineno
            // in verbose dec
            if not _verbose_dec_re.search(fname):
                // treat tests as scripts
                // and don"t capture unittest/case.py (assert_raises)
                if not (fname.startswith(root_dir) or
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: mne-tools/mne-python
Commit Name: 9ae1a832b36f8c6688e36e567e0aa129ea0a03e4
Time: 2020-03-13
Author: larson.eric.d@gmail.com
File Name: mne/utils/_logging.py
Class Name:
Method Name: warn


Project Name: pantsbuild/pants
Commit Name: 528f3a015bb88a4227f7534c5a5373d16ddd9e05
Time: 2017-03-31
Author: cheister@gmail.com
File Name: contrib/findbugs/src/python/pants/contrib/findbugs/tasks/findbugs.py
Class Name: FindBugs
Method Name: _is_findbugs_target


Project Name: pantsbuild/pants
Commit Name: 528f3a015bb88a4227f7534c5a5373d16ddd9e05
Time: 2017-03-31
Author: cheister@gmail.com
File Name: contrib/errorprone/src/python/pants/contrib/errorprone/tasks/errorprone.py
Class Name: ErrorProne
Method Name: _is_errorprone_target