当前位置:网站首页>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 .
边栏推荐
- Introduction to MySQL engine and InnoDB logical storage structure
- matlab----EEGLab查看脑电信号
- “链”接无限可能:数字资产链,精彩马上来!
- 一道golang中关于接口和实现的面试题
- Temperature and humidity environment monitoring system based on stm32
- Why did I choose to become a network engineer after graduating from weak current for 3 months
- Unity vs -- the default debugging in VS is to start rather than attach to unity debugging
- Niuke-top101-bm38
- Learn FPGA from the bottom structure (16) -- customization and testing of pll/mmcm IP
- LeetCode刷题——猜数字大小II#375#Medium
猜你喜欢

程序的编译和运行

How to use buffer queue to realize high concurrent order business (glory Collection Edition)

Unity vs -- the default debugging in VS is to start rather than attach to unity debugging
![Vulnhub | dc: 5 | [actual combat]](/img/c6/34117bbfb83ebdf9e619f4e4590661.png)
Vulnhub | dc: 5 | [actual combat]

网络协议:TCP Part2

leetcode-79:单词搜索

Cesium 多边形渐变色纹理(Canvas)

Online random coin tossing positive and negative statistical tool

Working principle of radar water level gauge and precautions for installation and maintenance

Character function and string function (2)
随机推荐
Today's sleep quality record 75 points
2022.7.24-----leetcode.1184
[cloud native] use of Nacos taskmanager task management
网络协议:TCP Part2
Introduction to several scenarios involving programming operation of Excel in SAP implementation project
牛客-TOP101-BM38
Compilation and operation of program
Principle analysis of bootloader
preprocessor directives
Remote—实战
Unity vs -- the default debugging in VS is to start rather than attach to unity debugging
Rand1 generates rand9
Character function and string function (2)
leetcode-6126:设计食物评分系统
Focus on data | Haitai Fangyuan directly hits the construction idea of data security governance in the securities industry
Hello, I'd like to ask questions about C and database operation.
Product principles of non-financial decentralized application
Leetcode-6129: number of all 0 subarrays
Use Navicat to connect to MySQL database through SSH channel (pro test is feasible)
Based on pexels image material API, sort out the material resource library