why does scikitlearn says F1 score is ill-defined with FN bigger than 0?

I run a python program that calls sklearn.metrics's methods to calculate precision and F1 score. Here is the output when there is no predicted sample: /xxx/py2-scikit-learn/0.15.2-comp6/lib/python...