Skip to content

Commit

Permalink
--must import quaternion library before habitat_sim for audio compile
Browse files Browse the repository at this point in the history
If not imported here and sim is compiled with audio support, python tests will abort due to the habitat_sim import causing an invalid free() error
  • Loading branch information
jturner65 committed Dec 17, 2024
1 parent 04e7a1a commit 69266a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

import pytest

# Need to import quaternion library here despite it not being used or else importing
# habitat_sim below will cause an invalid free() when audio is enabled in sim compilation
import quaternion # noqa: F401

import habitat_sim

_test_scene = osp.abspath(
Expand Down

0 comments on commit 69266a2

Please sign in to comment.