cleanup
This commit is contained in:
parent
ed021e3d81
commit
ff8ca92963
13 changed files with 29 additions and 24 deletions
|
|
@ -1,3 +1,4 @@
|
|||
# ruff: noqa: PLC0415
|
||||
import pytest
|
||||
import numpy
|
||||
from numpy.testing import assert_allclose
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ from numpy import pi
|
|||
|
||||
from ..label import Label
|
||||
from ..repetition import Grid
|
||||
from ..utils import annotations_eq
|
||||
|
||||
|
||||
def test_label_init() -> None:
|
||||
|
|
@ -39,9 +40,6 @@ def test_label_copy() -> None:
|
|||
|
||||
print(f"l1: string={l1.string}, offset={l1.offset}, repetition={l1.repetition}, annotations={l1.annotations}")
|
||||
print(f"l2: string={l2.string}, offset={l2.offset}, repetition={l2.repetition}, annotations={l2.annotations}")
|
||||
|
||||
from ..utils import annotations_eq
|
||||
|
||||
print(f"annotations_eq: {annotations_eq(l1.annotations, l2.annotations)}")
|
||||
|
||||
assert l1 == l2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue