Skip to content
Permalink
Browse files

Get around spuriou warning from testing.

Disable pylint py3k complaint about rounding.
  • Loading branch information...
captainhammy committed Sep 24, 2019
1 parent 45be9b9 commit 901c697971837886ab972fac8ad80f4b0767d485
Showing with 6 additions and 3 deletions.
  1. +1 −1 python/ht/pyfilter/operations/ipoverrides.py
  2. +5 −2 tests/inline/test_api_integration.py
@@ -364,7 +364,7 @@ def _scale_resolution(resolution, scale):
:rtype: list(int)
"""
return [int(round(value * scale)) for value in resolution]
return [int(round(value * scale)) for value in resolution] # pylint: disable=round-builtin


def _scale_samples(samples, scale):
@@ -2267,7 +2267,8 @@ def test_vector_contains_nans():

def test_vector_compute_dual():
"""Test ht.inline.api.vector_compute_dual."""
target = hou.Matrix3(((0, -3, 2), (3, 0, -1), (-2, 1, 0)))
target = hou.Matrix3()
target.setTo(((0, -3, 2), (3, 0, -1), (-2, 1, 0)))

vec = hou.Vector3(1, 2, 3)

@@ -2308,7 +2309,9 @@ def test_set_matrix_translates():

def test_build_lookat_matrix():
"""Test ht.inline.api.build_lookat_matrix."""
target = hou.Matrix3(
target = hou.Matrix3()

target.setTo(
(
(0.70710678118654746, -0.0, 0.70710678118654746),
(0.0, 1.0, 0.0),

0 comments on commit 901c697

Please sign in to comment.
You can’t perform that action at this time.