Skip to content

Commit 214f7c2

Browse files
committed
Move fixtures/ to tests
1 parent c571577 commit 214f7c2

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

tests/exceptions_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import pytest
33
import torch
44

5-
from fixtures.models import CustomParameter, EdgeCaseModel, IdentityModel
5+
from tests.fixtures.models import CustomParameter, EdgeCaseModel, IdentityModel
66
from torchinfo import summary
77

88

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import torch
66
from torch import nn
77

8-
from fixtures.models import IdentityModel
8+
from tests.fixtures.models import IdentityModel
99

1010

1111
class ReLUConvBN(nn.Module):

tests/torchinfo_test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
import torchvision # type: ignore[import]
55
from torch import nn
66

7-
from fixtures.genotype import GenotypeNetwork # type: ignore[attr-defined]
8-
from fixtures.models import (
7+
from tests.conftest import verify_output_str
8+
from tests.fixtures.genotype import GenotypeNetwork # type: ignore[attr-defined]
9+
from tests.fixtures.models import (
910
AutoEncoder,
1011
ContainerModule,
1112
CustomParameter,
@@ -25,8 +26,7 @@
2526
SiameseNets,
2627
SingleInputNet,
2728
)
28-
from fixtures.tmva_net import TMVANet # type: ignore[attr-defined]
29-
from tests.conftest import verify_output_str
29+
from tests.fixtures.tmva_net import TMVANet # type: ignore[attr-defined]
3030
from torchinfo import ALL_COLUMN_SETTINGS, summary
3131

3232

0 commit comments

Comments
 (0)