当前位置:网站首页>Pychart automatically enters the test mode when running the program
Pychart automatically enters the test mode when running the program
2022-07-25 20:50:00 【Channing Lewis】
I found that I entered the test mode automatically when running the code today , But I didn't import the test module . Later, I found that it was because one of my functions was named test start ,pycharm It is automatically recognized as test code .
My code :
def test_ii():
print("hhh")
After operation :
But in my virtual machine pycharm Will not recognize like this , The same code works normally .
see File->Settings->Tools->Python integrated Tools page :
Enter the test mode pycharm:
You can see that the default test runner is pytest.
Will not enter the test mode pycharm:

Put into test mode pycharm Of pytest Change it to Unittests Will not enter the test mode .
边栏推荐
- Network protocol: TCP part2
- Temperature and humidity environment monitoring system based on stm32
- process.env
- 从底层结构开始学习FPGA(16)----PLL/MMCM IP的定制与测试
- Struct, enum type and union
- Vulnhub | dc: 6 | [actual combat]
- Solution to oom exceptions caused by improper use of multithreading in production environment (supreme Collection Edition)
- When MySQL resets the root password and modifies the password, an error occurs. The password field does not exist
- How to use buffer queue to realize high concurrent order business (glory Collection Edition)
- Niuke-top101-bm38
猜你喜欢

Force deduction ----- calculate the money of the force deduction bank

ROS_ Rqt toolbox

Unity vs -- the default debugging in VS is to start rather than attach to unity debugging

leetcode-919:完全二叉树插入器

103. (cesium chapter) cesium honeycomb diagram (square)

How to realize reliable transmission with UDP?

从底层结构开始学习FPGA(16)----PLL/MMCM IP的定制与测试

文件操作详解

KEGG通路的从属/注释信息如何获取

Leetcode-6129: number of all 0 subarrays
随机推荐
Automated testing ----- selenium (I)
7.23
FanoutExchange交换机代码教程
Unity vs -- the default debugging in VS is to start rather than attach to unity debugging
Kubernetes advanced part learning notes
The database empties the table data and makes the primary key start from 1
A detailed explanation of SCP command
How to use buffer queue to realize high concurrent order business (glory Collection Edition)
MPI学习笔记(二):矩阵相乘的两种实现方法
Chinese son-in-law OTA Ono became the first Asian president of the University of Michigan, with an annual salary of more than 6.5 million!
MPI learning notes (II): two implementation methods of matrix multiplication
What's special about Huawei's innovative solutions to consolidate the foundation of ERP for small and medium-sized enterprises?
Remote—基本原理介绍
一道golang中关于map的并发读写的面试题
Leetcode-155: minimum stack
Online XML to JSON tool
"Chain" connects infinite possibilities: digital asset chain, wonderful coming soon!
[technical dry goods] how to ensure the idempotency of the interface?
leetcode-146:LRU 缓存
Implementation of simple registration and login