From 4540a42cd3fcf9bc426a93303abd826e312d8508 Mon Sep 17 00:00:00 2001 From: Eric Mehl Date: Sat, 14 Jan 2023 14:44:16 -0500 Subject: [PATCH] DeadlineDispatcherTest : Remove support for Python 2 --- Changes.md | 1 + python/GafferDeadlineTest/DeadlineDispatcherTest.py | 6 +----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Changes.md b/Changes.md index ae1cf26..30e6277 100644 --- a/Changes.md +++ b/Changes.md @@ -3,6 +3,7 @@ - Added Alfred style progress (commonly used by Houdini renderers) updates in the Deadline plugin. - Added support for Gaffer 0.61.1.2, 1.2.0.0a1 and 1.2.0.0a2. - Added the ability to use `pathlib.Path` objects in auxiliary files. This can be done, for example, in a prespool signal handler that modifies the jobs auxiliary files via `setAuxFiles()`. +- DeadlineDispatcherTest : Removed support for Python 2. # 0.56.0.1 ## Bugs Squished diff --git a/python/GafferDeadlineTest/DeadlineDispatcherTest.py b/python/GafferDeadlineTest/DeadlineDispatcherTest.py index c484308..6c709ef 100644 --- a/python/GafferDeadlineTest/DeadlineDispatcherTest.py +++ b/python/GafferDeadlineTest/DeadlineDispatcherTest.py @@ -36,11 +36,7 @@ import os import unittest -import sys -if sys.version_info >= (3, 3): - from unittest import mock -else: - import mock +from unittest import mock import IECore