def METHOD_NAME(self, preprocessors, gradebook, resources):
    """Is a failing code cell correctly graded?"""
    cell = create_grade_cell("hello", "code", "foo", 1)
    cell.metadata.nbgrader['checksum'] = compute_checksum(cell)
    cell.outputs = [new_output('error', ename="NotImplementedError", evalue="", traceback=["error"])]
    nb = new_notebook()
    nb.cells.append(cell)
    preprocessors[0].preprocess(nb, resources)
    gradebook.add_submission("ps0", "bar")
    preprocessors[1].preprocess(nb, resources)
    preprocessors[2].preprocess(nb, resources)
    assert cell.metadata.nbgrader['score'] == 0
    assert cell.metadata.nbgrader['points'] == 1
    assert 'comment' not in cell.metadata.nbgrader