Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
n3011 committed Dec 1, 2021
1 parent 93f514d commit 64a8926
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Empty file added tests/__init__.py
Empty file.
4 changes: 2 additions & 2 deletions tests/test_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
from absl.testing import absltest

from datum.reader.loader import load
from tests import utils
from tests.utils import _test_create_det_records


class TestDataset(absltest.TestCase):

def setUp(self):
self.tempdir = tempfile.mkdtemp()
utils._test_create_det_records(self.tempdir)
_test_create_det_records(self.tempdir)
self._dataset = load(self.tempdir)
dataset_configs = self._dataset.dataset_configs
dataset_configs.batch_size_train = 1
Expand Down

0 comments on commit 64a8926

Please sign in to comment.