0c6a8026bbc09d6fac15cbeef48fdec6840c4a50,scipy/sparse/linalg/tests/test_interface.py,,test_repr,#,232

Before Change



def test_repr():
    A = interface.LinearOperator(shape=(1, 1), matvec=lambda x: 1)
    assert_("unspecified dtype" in repr(A))


def test_identity():
    ident = interface.IdentityOperator((3, 3))

After Change



def test_repr():
    A = interface.LinearOperator(shape=(1, 1), matvec=lambda x: 1)
    repr_A = repr(A)
    assert_("unspecified dtype" not in repr_A, repr_A)


def test_identity():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: scipy/scipy
Commit Name: 0c6a8026bbc09d6fac15cbeef48fdec6840c4a50
Time: 2015-01-06
Author: argriffi@ncsu.edu
File Name: scipy/sparse/linalg/tests/test_interface.py
Class Name:
Method Name: test_repr


Project Name: mne-tools/mne-python
Commit Name: f384253d77d46893d91c4ae678ff50f7287cc384
Time: 2019-03-29
Author: larson.eric.d@gmail.com
File Name: mne/io/tests/test_meas_info.py
Class Name:
Method Name: test_info


Project Name: descarteslabs/descarteslabs-python
Commit Name: 805a4e30e5ad6612d64cde1ab08d33fdbf9cdcc4
Time: 2018-11-02
Author: jaap@descarteslabs.com
File Name: descarteslabs/common/dotdict/tests/test_dotdict.py
Class Name: TestIndentedRepr
Method Name: test_idr_short


Project Name: tensorlayer/tensorlayer
Commit Name: 3d305831a0edd1288cc2f94f81debbdc359d7bb3
Time: 2019-03-22
Author: jingqing.zhang15@imperial.ac.uk
File Name: tensorlayer/layers/lambda_layers.py
Class Name: Lambda
Method Name: __init__


Project Name: scipy/scipy
Commit Name: 89ded38ab5d85cdf0b8fdd79aaed47064822cd22
Time: 2014-11-22
Author: pav@iki.fi
File Name: scipy/special/tests/test_ellip_harm.py
Class Name:
Method Name: test_ellip_potential