2bfd6edc4c2e1c32aa39c05ad6a65576ba0f9979,tests/test_factor_analyzer.py,TestFactorAnalyzer,test_analyze_rotation_value_error,#TestFactorAnalyzer#,125

Before Change


    @raises(ValueError)
    def test_analyze_rotation_value_error(self):

        data = pd.DataFrame({"A": [2, 4, 5, 6, 8, 9],
                             "B": [4, 8, np.nan, 10, 16, 18],
                             "C": [6, 12, 15, 12, 26, 27]})

        fa = FactorAnalyzer(rotation="blah", n_factors=1)
        fa.fit(data)

After Change


    @raises(ValueError)
    def test_analyze_rotation_value_error(self):
        fa = FactorAnalyzer(rotation="blah", n_factors=1)
        fa.fit(np.random.randn(500).reshape(100, 5))

    @raises(ValueError)
    def test_analyze_infinite(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: EducationalTestingService/factor_analyzer
Commit Name: 2bfd6edc4c2e1c32aa39c05ad6a65576ba0f9979
Time: 2021-03-25
Author: jeremy.m.biggs@gmail.com
File Name: tests/test_factor_analyzer.py
Class Name: TestFactorAnalyzer
Method Name: test_analyze_rotation_value_error


Project Name: mne-tools/mne-python
Commit Name: a610fbcacda540c1ebff6c9500c85644aaef8ae7
Time: 2020-05-28
Author: larson.eric.d@gmail.com
File Name: mne/viz/tests/test_evoked.py
Class Name:
Method Name: test_plot_white


Project Name: EducationalTestingService/factor_analyzer
Commit Name: 2bfd6edc4c2e1c32aa39c05ad6a65576ba0f9979
Time: 2021-03-25
Author: jeremy.m.biggs@gmail.com
File Name: tests/test_factor_analyzer.py
Class Name: TestFactorAnalyzer
Method Name: test_analyze_impute_value_error