1. 首页
  2. 移动开发
  3. 其他
  4. pymore:莫python问题较少。 python的助手 源码

pymore:莫python问题较少。 python的助手 源码

上传者: 2021-04-07 01:02:12上传 ZIP文件 15.58KB 热度 12次
pymore pymore是Python有用工具的集合。 这包括 EqualsTester:一个用于测试Python中的平等契约的帮助程序(最初是为开发的) import pymore tester = pymore . EqualsTester () # This tests that the added elements all satisfy the equals contract # between themselves. tester . add_equality_group ( MyObject ( "a" ), MyObject ( "a" )) # Each new addition of an equality group also tests that the elements # in this new group are not equal to those
下载地址
用户评论