Skip to content

Commit

Permalink
Fix flaky test_bindings test
Browse files Browse the repository at this point in the history
For some reason, importing the SWIG package gympp_bindings from gym_ignition interferes with other tests
  • Loading branch information
diegoferigo committed Feb 12, 2020
1 parent 3031499 commit 9fd581b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/python/test_bindings.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import numpy as np
from numpy import pi
from pathlib import Path
import gympp_bindings as bindings
from gym_ignition.utils import logger
from gym_ignition import gympp_bindings as bindings

# Set verbosity
logger.set_level(gym.logger.DEBUG)
Expand Down Expand Up @@ -109,7 +109,7 @@ def test_box_space():
"Wrong data type of the sample extracted from the box space"
assert box.contains(sample), \
"Sampled data is not contained in the box space object that created it"


def test_space_box_metadata(create_space_box_md):
md = create_space_box_md
Expand Down

0 comments on commit 9fd581b

Please sign in to comment.