370eb62df8cbf315257f5b3fed3c6d6120fe2068,scipy/cluster/tests/test_vq.py,TestKMean,test_kmeans2_init,#TestKMean#,246
Before Change
kmeans2(data[:, :1], 3, minit="++") // special case (1-D)
// minit="random" can give warnings, filter those
with warnings.catch_warnings() :
warnings.filterwarnings(
"ignore",
message="At least one cluster is empty. Re-run")
kmeans2(data, 3, minit="random")
kmeans2(data[:, :1], 3, minit="random") // special case (1-D)
@pytest.mark.skipif(sys.platform == "win32",
After Change
kmeans2(data[:, :1], 3, minit="++") // special case (1-D)
// minit="random" can give warnings, filter those
with suppress_warnings() as sup:
sup.filter(message="One of the clusters is empty. Re-run")
kmeans2(data, 3, minit="random")
kmeans2(data[:, :1], 3, minit="random") // special case (1-D)
@pytest.mark.skipif(sys.platform == "win32",
In pattern: SUPERPATTERN
Frequency: 8
Non-data size: 5
Instances Project Name: scipy/scipy
Commit Name: 370eb62df8cbf315257f5b3fed3c6d6120fe2068
Time: 2018-11-05
Author: vramasub@umich.edu
File Name: scipy/cluster/tests/test_vq.py
Class Name: TestKMean
Method Name: test_kmeans2_init
Project Name: scipy/scipy
Commit Name: a15cdc210e439dacf50e9cb86087cc98db2df9c9
Time: 2017-06-26
Author: sebastian@sipsolutions.net
File Name: scipy/stats/tests/test_morestats.py
Class Name: TestAndersonKSamp
Method Name: test_result_attributes
Project Name: scipy/scipy
Commit Name: a15cdc210e439dacf50e9cb86087cc98db2df9c9
Time: 2017-06-26
Author: sebastian@sipsolutions.net
File Name: scipy/stats/tests/test_morestats.py
Class Name: TestAndersonKSamp
Method Name: test_example2a
Project Name: scipy/scipy
Commit Name: a15cdc210e439dacf50e9cb86087cc98db2df9c9
Time: 2017-06-26
Author: sebastian@sipsolutions.net
File Name: scipy/stats/tests/test_morestats.py
Class Name: TestAnsari
Method Name: test_approx
Project Name: scipy/scipy
Commit Name: a15cdc210e439dacf50e9cb86087cc98db2df9c9
Time: 2017-06-26
Author: sebastian@sipsolutions.net
File Name: scipy/stats/tests/test_morestats.py
Class Name: TestAndersonKSamp
Method Name: test_example1a
Project Name: scipy/scipy
Commit Name: 370eb62df8cbf315257f5b3fed3c6d6120fe2068
Time: 2018-11-05
Author: vramasub@umich.edu
File Name: scipy/cluster/tests/test_vq.py
Class Name: TestKMean
Method Name: test_kmeans2_init
Project Name: scipy/scipy
Commit Name: 1c880c79459a63c8e36f48966142aea56626818e
Time: 2017-07-10
Author: cdouglass256@gmail.com
File Name: scipy/sparse/csgraph/tests/test_graph_components.py
Class Name:
Method Name: test_cs_graph_components
Project Name: scipy/scipy
Commit Name: a15cdc210e439dacf50e9cb86087cc98db2df9c9
Time: 2017-06-26
Author: sebastian@sipsolutions.net
File Name: scipy/stats/tests/test_morestats.py
Class Name: TestAndersonKSamp
Method Name: test_example1b
Project Name: scipy/scipy
Commit Name: a15cdc210e439dacf50e9cb86087cc98db2df9c9
Time: 2017-06-26
Author: sebastian@sipsolutions.net
File Name: scipy/stats/tests/test_morestats.py
Class Name: TestAndersonKSamp
Method Name: test_example2b