diff --git a/shapefile.py b/shapefile.py index 7d018ae..cace43f 100644 --- a/shapefile.py +++ b/shapefile.py @@ -8,21 +8,20 @@ __version__ = "2.3.1" -from struct import pack, unpack, calcsize, error, Struct +import array +from datetime import date +import io +import logging import os +from struct import pack, unpack, calcsize, error, Struct import sys -import time -import array import tempfile -import logging -import io -from datetime import date +import time import zipfile # Create named logger logger = logging.getLogger(__name__) - # Module settings VERBOSE = True diff --git a/test_shapefile.py b/test_shapefile.py index ec73b45..ad7ea08 100644 --- a/test_shapefile.py +++ b/test_shapefile.py @@ -1,7 +1,9 @@ """ This module tests the functionality of shapefile.py. """ -# std lib imports + +import datetime +import json import os.path import sys if sys.version_info.major == 3: @@ -9,8 +11,6 @@ # third party imports import pytest -import json -import datetime if sys.version_info.major == 2: # required by pytest for python <36 from pathlib2 import Path