Skip to content

Commit

Permalink
Do not run new test on Maya 2022 and lower.
Browse files Browse the repository at this point in the history
  • Loading branch information
ppt-adsk committed Oct 13, 2022
1 parent a140141 commit bddfc11
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/lib/ufe/testPythonWrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ def testWrappers(self):
# a worker thread.
cmds.file(new=True, force=True)

# In Maya 2020 and 2022, undo does not restore the stage. To be
# investigated as needed.
@unittest.skipUnless((mayaUtils.mayaMajorVersion() == 2023) or mayaUtils.previewReleaseVersion() >= 139, 'Only supported in Maya 2023 or greater.')
def testGetAllStages(self):

# Create two stages.
Expand Down

0 comments on commit bddfc11

Please sign in to comment.