Add stix2.utils import to v20/test_versioning.py since the module

was used but not imported there.  Also import sorting from the
pre-commit hook.
pull/1/head
Michael Chisholm 2020-05-28 16:56:26 -04:00
parent 5522050899
commit 78d3b2c4c5
2 changed files with 7 additions and 5 deletions

View File

@ -2,6 +2,7 @@ import pytest
import stix2
import stix2.exceptions
import stix2.utils
import stix2.v20
import stix2.versioning

View File

@ -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,
)