Skip to content

Commit ba0798c

Browse files
stephane-caronStéphane Caron
authored andcommitted
[CI] Remove logging.info not needed with pytest
1 parent f977db7 commit ba0798c

File tree

5 files changed

+0
-24
lines changed

5 files changed

+0
-24
lines changed

tests/loaders/test_mujoco.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717

18-
import logging
1918
import unittest
2019

2120
from robot_descriptions._descriptions import DESCRIPTIONS
@@ -28,10 +27,6 @@ class TestMuJoCo(unittest.TestCase):
2827
Check that all MJCF descriptions are loaded properly in MuJoCo.
2928
"""
3029

31-
def setUp(self):
32-
logging.basicConfig()
33-
logging.getLogger().setLevel(logging.INFO)
34-
3530
@staticmethod
3631
def get_test_for_description(description: str):
3732
"""
@@ -45,7 +40,6 @@ def get_test_for_description(description: str):
4540
"""
4641

4742
def test(self):
48-
logging.info(f"Loading {description} in MuJoCo...")
4943
load_robot_description(description)
5044

5145
return test

tests/loaders/test_pinocchio.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717

18-
import logging
1918
import unittest
2019

2120
from robot_descriptions._descriptions import DESCRIPTIONS
@@ -28,10 +27,6 @@ class TestPinocchio(unittest.TestCase):
2827
Check that all descriptions are loaded properly in Pinocchio.
2928
"""
3029

31-
def setUp(self):
32-
logging.basicConfig()
33-
logging.getLogger().setLevel(logging.INFO)
34-
3530
@staticmethod
3631
def get_test_for_description(description: str):
3732
"""
@@ -45,7 +40,6 @@ def get_test_for_description(description: str):
4540
"""
4641

4742
def test(self):
48-
logging.info(f"Loading {description} in Pinocchio...")
4943
load_robot_description(description)
5044

5145
return test

tests/loaders/test_pybullet.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717

18-
import logging
1918
import unittest
2019

2120
import pybullet
@@ -35,8 +34,6 @@ def setUp(self):
3534
"""
3635
Start PyBullet simulation.
3736
"""
38-
logging.basicConfig()
39-
logging.getLogger().setLevel(logging.INFO)
4037
pybullet.connect(pybullet.DIRECT)
4138

4239
def tearDown(self):
@@ -65,7 +62,6 @@ def get_test_for_description(description: str):
6562
"""
6663

6764
def test(self):
68-
logging.info(f"Loading {description} in PyBullet...")
6965
load_robot_description(description)
7066

7167
return test

tests/loaders/test_robomeshcat.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717

18-
import logging
1918
import unittest
2019

2120
from robot_descriptions._descriptions import DESCRIPTIONS
@@ -41,7 +40,6 @@ def get_test_for_description(description: str):
4140
"""
4241

4342
def test(self):
44-
logging.info(f"Loading {description} in RoboMeshCat...")
4543
load_robot_description(description)
4644

4745
return test

tests/loaders/test_yourdfpy.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717

18-
import logging
1918
import unittest
2019

2120
from robot_descriptions._descriptions import DESCRIPTIONS
@@ -28,10 +27,6 @@ class TestYourdfpy(unittest.TestCase):
2827
Check that all URDF descriptions are loaded properly in yourdfpy.
2928
"""
3029

31-
def setUp(self):
32-
logging.basicConfig()
33-
logging.getLogger().setLevel(logging.INFO)
34-
3530
@staticmethod
3631
def get_test_for_description(description: str):
3732
"""
@@ -45,7 +40,6 @@ def get_test_for_description(description: str):
4540
"""
4641

4742
def test(self):
48-
logging.info(f"Loading {description} in yourdfpy...")
4943
load_robot_description(description)
5044

5145
return test

0 commit comments

Comments
 (0)