Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
swheaton committed Aug 26, 2024
1 parent ab8e2d9 commit 4259541
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions tests/unittests/dataset_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -2802,6 +2802,8 @@ def test_rename_fields(self):

created_at = dataset.get_field("field").created_at
dataset.rename_sample_field("field", "new_field")

# Renaming doesn't cause created_at to update
self.assertEqual(dataset.get_field("new_field").created_at, created_at)
self.assertFalse("field" in dataset.get_field_schema())
self.assertTrue("new_field" in dataset.get_field_schema())
Expand Down
3 changes: 0 additions & 3 deletions tests/unittests/import_export_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -3294,9 +3294,6 @@ def test_fiftyone_dataset(self):
created_at2 = dataset2.values("created_at")
last_modified_at2 = dataset2.values("last_modified_at")

print(field_created_at1)
print(field_created_at2)
assert 0
self.assertTrue(
all(
f1 < f2 for f1, f2 in zip(field_created_at1, field_created_at2)
Expand Down

0 comments on commit 4259541

Please sign in to comment.