You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/IECoreScene/ShaderNetworkAlgoTest.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -602,7 +602,7 @@ def testSplineInputs( self ):
602
602
output="testSplines"
603
603
)
604
604
605
-
withsix.assertRaisesRegex(self,Exception, r".*Cannot handle input to testSplines.fC3fcatmullRom\[0\].y.b : expanded spline has 33 control points, but max input adapter size is 32.*" ):
605
+
withself.assertRaisesRegex( Exception, r".*Cannot handle input to testSplines.fC3fcatmullRom\[0\].y.b : expanded spline has 33 control points, but max input adapter size is 32.*" ):
606
606
IECoreScene.ShaderNetworkAlgo.convertToOSLConventions( n, 11000 )
607
607
608
608
n=IECoreScene.ShaderNetwork(
@@ -619,7 +619,7 @@ def testSplineInputs( self ):
619
619
output="testSplines"
620
620
)
621
621
622
-
withsix.assertRaisesRegex(self,Exception, "Invalid spline point index xx" ):
622
+
withself.assertRaisesRegex( Exception, "Invalid spline point index xx" ):
623
623
IECoreScene.ShaderNetworkAlgo.convertToOSLConventions( n, 11000 )
624
624
625
625
n=IECoreScene.ShaderNetwork(
@@ -636,7 +636,7 @@ def testSplineInputs( self ):
636
636
output="testSplines"
637
637
)
638
638
639
-
withsix.assertRaisesRegex(self,Exception, "Spline index -1 is out of range in spline with 6 points." ):
639
+
withself.assertRaisesRegex( Exception, "Spline index -1 is out of range in spline with 6 points." ):
640
640
IECoreScene.ShaderNetworkAlgo.convertToOSLConventions( n, 11000 )
641
641
642
642
n=IECoreScene.ShaderNetwork(
@@ -653,7 +653,7 @@ def testSplineInputs( self ):
653
653
output="testSplines"
654
654
)
655
655
656
-
withsix.assertRaisesRegex(self,Exception, "Spline index 100 is out of range in spline with 6 points." ):
656
+
withself.assertRaisesRegex( Exception, "Spline index 100 is out of range in spline with 6 points." ):
657
657
IECoreScene.ShaderNetworkAlgo.convertToOSLConventions( n, 11000 )
0 commit comments