Python3 Unittests, how to prevent private class variables from carrying over between tests

前端 未结 0 1612
Happy的楠姐
Happy的楠姐 2021-01-23 05:56

I have two classes, Base and Rectangle. Rectangle inherits from base, and whenever an instance of either is created a private class variable increments (in most conditions) to c

相关标签:
回答
  • 消灭零回复
提交回复
热议问题