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: EpistasisLab/tpot
Commit Name: 2b8636d6b3d2c8afbc2960b24f15759e0b0d04ea
Time: 2017-04-21
Author: supacoofoo@gmail.com
File Name: tests.py
Class Name:
Method Name: test_lite_params