[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fDYSs1PG6tlEBIug1JvembzFd6Vd-wa1691yE1U0yNWQ":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":30,"type":31},[],"2025-05-07 16:51:07",186136200,[8,9,10,11],"pip install pytest-","python -m pip install pytest-","python -m pip install --user pytest-","pip install --user pytest-",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},14,"71b49d56918b25f6fa1836656212a7dc","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F9c1e48361b00f3ee2086f4e259ed792b.jpg","人工智能导论","work_43400788","作业2","安装第三方包pytest的正确命令是什么?( ) -",[21,32,41,44,53,63,72,81,90,99],{"answer":22,"createTime":5,"id":23,"options":24,"question":29,"source":30,"type":31},[],186136196,[25,26,27,28],"pip install --upgrade pip-","python -m pip install --upgrade pip-","python -m pip upgrade pip-","pip upgrade pip","以下哪个命令是用来更新pip模块的?( ) -","v1",0,{"answer":33,"createTime":5,"id":34,"options":35,"question":40,"source":30,"type":31},[],186136198,[36,37,38,39],"标准库中的库-","独立于Python核心的库-","系统内置的库-","只在特定操作系统上可用的库-","第三方包(third-party package)通常指的是什么?( ) -",{"answer":42,"createTime":5,"id":6,"options":43,"question":19,"source":30,"type":31},[],[8,9,10,11],{"answer":45,"createTime":5,"id":46,"options":47,"question":52,"source":30,"type":31},[],186136202,[48,49,50,51],"get_formatted_name-","format_name-","create_full_name-","generate_name-","以下哪个函数是用于生成格式规范的姓名的?( ) -",{"answer":54,"createTime":55,"id":56,"options":57,"question":62,"source":30,"type":31},[],"2025-05-07 16:51:08",186136204,[58,59,60,61],"测试用例-","功能测试-","集成测试-","系统测试-","单元测试(unit test)包含什么?( ) -",{"answer":64,"createTime":55,"id":65,"options":66,"question":71,"source":30,"type":31},[],186136206,[67,68,69,70],"函数可能收到的各种输入-","函数的执行效率-","函数在各种情况下的行为-","函数的输出是否符合预期-","以下哪个不是编写测试用例时需要考虑的因素?( ) -",{"answer":73,"createTime":55,"id":74,"options":75,"question":80,"source":30,"type":31},[],186136209,[76,77,78,79],"以test_开头-","以test结尾-","包含test单词-","以.py结尾-","pytest测试框架中,测试文件的命名规则是什么?( ) -",{"answer":82,"createTime":55,"id":83,"options":84,"question":89,"source":30,"type":31},[],186136212,[85,86,87,88],"assert 1 &gt; 2-","assert 'a' in ['a', 'b', 'c']-","assert 1 == '1'-","assert True == False-","以下哪个断言是正确的?( ) -",{"answer":91,"createTime":55,"id":92,"options":93,"question":98,"source":30,"type":31},[],186136216,[94,95,96,97],"直接运行测试文件-","在终端窗口执行命令python -m pytest-","使用python test_name_function.py运行测试-","使用pytest test_name_function命令-","运行pytest测试时,以下哪个操作是正确的?( ) -",{"answer":100,"createTime":55,"id":101,"options":102,"question":107,"source":30,"type":31},[],186136220,[103,104,105,106],"修改测试代码以通过测试-","忽略测试结果-","修复被测试的代码-","重新运行测试-","如果测试未通过,以下哪个操作是正确的?( ) -"]