Skip to content

Commit

Permalink
Fix realsense python test
Browse files Browse the repository at this point in the history
  • Loading branch information
ssheorey committed Jun 16, 2024
1 parent a5f76d9 commit dab9e00
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python/test/t/io/test_realsense.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def test_RSBagReader():
assert n_frames == 6

# save_frames
bag_reader = o3d.t.io.RGBDVideoReader.create("L515_test_s.bag")
bag_reader = o3d.t.io.RGBDVideoReader.create(sample_l515_bag.path)
bag_reader.save_frames("L515_test_s")
# Use issubset() since there may be other OS files present
assert {'depth', 'color',
Expand All @@ -79,8 +79,6 @@ def test_RSBagReader():
}.issubset(os.listdir('L515_test_s/color'))

shutil.rmtree("L515_test_s")
if os.name != 'nt': # Permission error in Windows
os.remove("L515_test_s.bag")


# Test recording from a RealSense camera, if one is connected
Expand Down

0 comments on commit dab9e00

Please sign in to comment.