9f488c4a33d6185f6a94514a2ca4132599ff7fbf,test/unit_test/test_utility_topword.py,TestZTest,test_special_case,#TestZTest#,8
Before Change
// assert _z_test_(p1=0.1, pt=0.3, n1=100, nt=10000) ==
def test_special_case(self):
try:
_ = _z_test_(p1=0.1, pt=0.3, n1=0, nt=0)
raise AssertionError("Division by zero message did not raise")
except ZeroDivisionError:
assert _ == "Insignificant"
After Change
def test_special_case(self):
assert _z_test_(p1=0.1, pt=0.3, n1=0, nt=0) == "Insignificant"
assert _z_test_(p1=0.1, pt=0.3, n1=100, nt=0) == "Insignificant"
assert _z_test_(p1=0.1, pt=0.3, n1=0, nt=100) == "Insignificant"
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: WheatonCS/Lexos
Commit Name: 9f488c4a33d6185f6a94514a2ca4132599ff7fbf
Time: 2017-07-28
Author: weltch1997@gmail.com
File Name: test/unit_test/test_utility_topword.py
Class Name: TestZTest
Method Name: test_special_case
Project Name: WheatonCS/Lexos
Commit Name: f656ad951158b500a92e230b2dd6cb48c465f0d2
Time: 2017-08-10
Author: darias0826@gmail.com
File Name: test/unit_test/test_file_cutter.py
Class Name: TestCutByWords
Method Name: test_cut_by_words_overlap
Project Name: scipy/scipy
Commit Name: 47aeda942bcf40fa80107433db33f21717a78e99
Time: 2010-11-13
Author: warren.weckesser@localhost
File Name: scipy/signal/tests/test_filter_design.py
Class Name: TestTf2zpk
Method Name: test_bad_filter