Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Python 3 Compatibility for AL plugin #573

Merged
merged 3 commits into from
Jun 12, 2020

Conversation

HamedSabri-adsk
Copy link
Contributor

No description provided.

@HamedSabri-adsk HamedSabri-adsk added the build Related to building maya-usd repository label Jun 9, 2020
@kxl-adsk kxl-adsk added the al Related to AnimalLogic plugin label Jun 9, 2020
@HamedSabri-adsk HamedSabri-adsk changed the title fix AL build when switching to python 3. Support Python 3 Compatibility for AL plugin Jun 10, 2020
- test_variantSwitch_that_keeps_existing_prim_runs_teardown_and_import
- test_variantSwitch_that_removes_prim_and_create_new_one
@HamedSabri-adsk HamedSabri-adsk added the unit test Related to unit tests (both python or c++) label Jun 10, 2020
@@ -13,6 +14,9 @@ def setUp(self):
self._closed = 0
self._changed = []
self._resynced = []
# assertCountEqual in python 3 is equivalent to assertItemsEqual
if sys.version_info[0] >= 3:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, can also use sys.version_info.major

@kxl-adsk kxl-adsk merged commit 2630ec4 into dev Jun 12, 2020
@kxl-adsk kxl-adsk deleted the sabrih/MAYA-104922/fix_building_al_plugin_python3 branch June 12, 2020 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
al Related to AnimalLogic plugin build Related to building maya-usd repository unit test Related to unit tests (both python or c++)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants