Error:
df.alcohol[0]_check: Value is not as expected. Please check quality interval.
Expected: 9.4
Result: 9.1
Please open utils.py if you want to see the unit test here.
df.alcohol[100]_check: Value is not as expected. Please check quality interval.
Expected: 10.9
Result: 12.5
Please open utils.py if you want to see the unit test here.
0 Tests passed
2 Tests failed
Exception Traceback (most recent call last)
in
----> 1 utils.test_df_drop(df)
2
~/work/release/W1_Assignment/utils.py in test_df_drop(df)
94 ]
95
—> 96 test_loop(test_cases)
97
98 def test_data_sizes(train_size, test_size, val_size):
~/work/release/W1_Assignment/utils.py in test_loop(test_cases)
25 print(‘\033[92m’, success," Tests passed")
26 print(‘\033[91m’, fails, " Tests failed")
—> 27 raise Exception(“Please check the error messages above.”)
28
29 def test_white_df(white_df):
Exception: Please check the error messages above.