diff --git a/stix2/test/v20/test_versioning.py b/stix2/test/v20/test_versioning.py index 9d9d797..03d43cc 100644 --- a/stix2/test/v20/test_versioning.py +++ b/stix2/test/v20/test_versioning.py @@ -2,6 +2,7 @@ import pytest import stix2 import stix2.exceptions +import stix2.utils import stix2.v20 import stix2.versioning diff --git a/stix2/versioning.py b/stix2/versioning.py index 1b9ba1c..7ec7250 100644 --- a/stix2/versioning.py +++ b/stix2/versioning.py @@ -1,11 +1,12 @@ import copy import datetime as dt -from stix2.utils import ( - get_timestamp, parse_into_datetime -) -import stix2.base -import stix2.v20.base + from six.moves.collections_abc import Mapping + +import stix2.base +from stix2.utils import get_timestamp, parse_into_datetime +import stix2.v20.base + from .exceptions import ( InvalidValueError, RevokeError, UnmodifiablePropertyError, )