python学习笔记
文章平均质量分 59
一觉回到学前班
这个作者很懒,什么都没留下…
展开
-
pytest 测试用例发现约定
pytest 测试发现约定1.如未指定任何参数,则收集从testpaths (如果已配置:可以通过pytest.ini配置文件发现路径,配置文件只在当前目录下生效),或当前目录开始。pytest.ini文件[pytest]testpaths = testing doc注意格式:用例发现路径用空格隔开,关键字不能写错2.命令行参数可以在目录,文件名或者节点ID的任何组合中使用。用例文件def test_02(): print('testing目录下的test02')原创 2021-07-20 22:43:14 · 319 阅读 · 2 评论 -
关于mysql 使用GROUP BY 查询报错
关于mysql 使用GROUP BY 查询报错:Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'student_info.s.SNAME' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_gr...原创 2021-03-29 23:04:23 · 350 阅读 · 1 评论