summaryrefslogtreecommitdiff
path: root/tests/type/test_useful.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/type/test_useful.py')
-rw-r--r--tests/type/test_useful.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/type/test_useful.py b/tests/type/test_useful.py
index 7c13bea..c480f43 100644
--- a/tests/type/test_useful.py
+++ b/tests/type/test_useful.py
@@ -4,10 +4,10 @@
# Copyright (c) 2005-2017, Ilya Etingof <etingof@gmail.com>
# License: http://snmplabs.com/pyasn1/license.html
#
-import sys
import datetime
-from copy import deepcopy
import pickle
+import sys
+from copy import deepcopy
try:
import unittest2 as unittest
@@ -19,6 +19,7 @@ from tests.base import BaseTestCase
from pyasn1.type import useful
+
class FixedOffset(datetime.tzinfo):
def __init__(self, offset, name):
self.__offset = datetime.timedelta(minutes=offset)