out_base.py: adapted to new sequence intialization for tests.

This commit is contained in:
Diego Capusotto 2021-12-17 11:46:15 -03:00
parent 51ad5c3a2e
commit 58a8035704
1 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,10 @@ from copy import deepcopy
from .gs import GS
from .kiplot import load_sch, get_board_comps_data
from .misc import Rect, KICAD_VERSION_5_99, W_WRONGPASTE
if not GS.kicad_version_n:
# When running the regression tests we need it
from kibot.__main__ import detect_kicad
detect_kicad()
if GS.kicad_version_n >= KICAD_VERSION_5_99: # pragma: no cover (Ki6)
# New name, no alias ...
from pcbnew import FP_SHAPE, wxPoint, LSET