Skip to content

Commit 09a9eb2

Browse files
USDSceneTest::testSetHashes : Removed test that hashes same between 2 identical USDScenes
This is intentionally no longer true - it was the easiest way to account for USD shuffling scenes when reopening them. Users should avoid opening the same file multiple times.
1 parent 1cac31f commit 09a9eb2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

contrib/IECoreUSD/test/IECoreUSD/USDSceneTest.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,8 +1103,6 @@ def testSetHashes( self ):
11031103
readRoot = IECoreScene.SceneInterface.create( fileName, IECore.IndexedIO.OpenMode.Read )
11041104
readRoot2 = IECoreScene.SceneInterface.create( anotherFileName, IECore.IndexedIO.OpenMode.Read )
11051105

1106-
readRoot3 = IECoreScene.SceneInterface.create( fileName, IECore.IndexedIO.OpenMode.Read )
1107-
11081106
A = readRoot.child('A')
11091107
Ap = readRoot.child('A')
11101108

@@ -1118,9 +1116,6 @@ def testSetHashes( self ):
11181116
A2 = readRoot2.child('A')
11191117
self.assertNotEqual( A.hashSet("dummySetA"), A2.hashSet("dummySetA") )
11201118

1121-
A3 = readRoot3.child('A')
1122-
self.assertEqual( A.hashSet("dummySetA"), A3.hashSet("dummySetA") )
1123-
11241119
def testSetsAtRoot( self ) :
11251120

11261121
fileName = os.path.join( self.temporaryDirectory(), "test.usda" )

0 commit comments

Comments
 (0)