在jupyter notebook/IPython中,unittest模块main函数运行出错的解决办法

python小白一枚,目前在跟着教材《Python入门到实践》学习。在jupyter notebook中运行第11章11.1.2节测试案例时,程序运行出错。程序name_function.py与测试程序test_name_function.py如下所示: # name_function.py def get_formatted_name(first,last): """Generate a
相关文章
相关标签/搜索