Update Python test QA
We don't need to explicitly calculate the bounding box anymore as it is lazily calculated when needed
This commit is contained in:
parent
2d5015c217
commit
824a942f55
|
@ -69,10 +69,6 @@ class TestBoardClass(unittest.TestCase):
|
||||||
pad.SetSize(wxSizeMM(2.0, 3.0))
|
pad.SetSize(wxSizeMM(2.0, 3.0))
|
||||||
pad.SetPosition(wxPointMM(0,0))
|
pad.SetPosition(wxPointMM(0,0))
|
||||||
|
|
||||||
#Update the footprint bounding box, because
|
|
||||||
#the new pad must be inside the bounding box to be located
|
|
||||||
module.CalculateBoundingBox()
|
|
||||||
|
|
||||||
# easy case
|
# easy case
|
||||||
p1 = pcb.GetPad(wxPointMM(0,0))
|
p1 = pcb.GetPad(wxPointMM(0,0))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue