犯了一个低级错误 将测试用例写在COMMON目录里,导致无法用pytest执行测试,代码执行了也 没有日志打印 回头想想 pytest用例 先找的是 包名为 test开头的 然后执行test的用例模块 所以需要用test关键字命名包、模块、以及用例名称!!!!! ...
分类:
其他好文 时间:
2021-03-09 13:24:31
阅读次数:
0
创建线程的三种方式 1.继承Thread类 2.实现Runnable接口 3.实现Callable接口 继承Thread类 public Test extends Thread{ public void run(){ ... }//必须重写Thread类的Run方法 ... public stati ...
分类:
编程语言 时间:
2021-03-09 13:00:41
阅读次数:
0
第一种 类似于python的re.search("\d+","123") import java.io.*; import java.util.*; import java.util.regex.*; public class test { public static void readFile() ...
分类:
编程语言 时间:
2021-03-08 14:20:53
阅读次数:
0
1.union 和 union all 前者可以去重 select sex,address from test where dt='20210218' union all select sex,address from test where dt='20210218'; + + +--+ | sex ...
分类:
其他好文 时间:
2021-03-08 14:17:52
阅读次数:
0
参考:https://blog.csdn.net/yeah898/article/details/24640411?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.contro ...
分类:
其他好文 时间:
2021-03-08 14:02:29
阅读次数:
0
Java的可变参数 public class Demo16 { public static void main(String[] args) { Demo16 demo16 = new Demo16();//调用与实例变量调用一样 //因为test没有static所以不能直接调用 demo16.te ...
分类:
编程语言 时间:
2021-03-08 13:37:56
阅读次数:
0
作用域 def test1(): print("in the test1")def test(): print("in the test") return test1 》test1 是函数test1的IP地址s = test() >运作test()结果是 in the test ,然后返回test1 ...
分类:
其他好文 时间:
2021-03-08 13:36:19
阅读次数:
0
title: stm32cubemx+clion环境搭建 date: 2021-01-23 13:32:05 tags: 环境搭建 cover: https://s3.ax1x.com/2021/01/23/s7unQx.png 为什么搭建 需要找到一个keil的替代品用来编译STM32代码。 环境 ...
分类:
其他好文 时间:
2021-03-06 15:06:50
阅读次数:
0
1、引用pom文件 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> </dependency> <dependency> <group ...
分类:
编程语言 时间:
2021-03-06 14:34:47
阅读次数:
0
AT4724 [ABC128D] equeue 题意:给出序列$n<=50$长度大小,然后给出$k ? 100$操作,可以从头部或者尾部拿出一个元素放到手里或者将某个手里的元素塞到序列,求手里最大和。 题解:枚举从头拿和从尾拿的操作,然后可确定放手的次数,然后就贪心得放出负数的数,最后手里得数就是最 ...
分类:
其他好文 时间:
2021-03-05 13:14:21
阅读次数:
0