Skip to content

Commit 8cda794

Browse files
Copilotmykaul
andcommitted
Sort imports alphabetically in test file
Per review feedback, reorganized imports following project conventions: - Standard library imports (io, unittest) grouped together and sorted - unittest.mock import kept with standard library - Blank line separator - Project imports (cassandra.*) grouped and sorted alphabetically This matches the import style used in other test files in the repository. Co-authored-by: mykaul <[email protected]>
1 parent f516180 commit 8cda794

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/unit/test_protocol_decode_optimization.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
import io
1516
import unittest
1617
from unittest.mock import Mock
17-
import io
1818

1919
from cassandra import ProtocolVersion
20-
from cassandra.protocol import ResultMessage, RESULT_KIND_ROWS
2120
from cassandra.cqltypes import Int32Type, UTF8Type
22-
from cassandra.policies import ColDesc
2321
from cassandra.marshal import int32_pack
22+
from cassandra.policies import ColDesc
23+
from cassandra.protocol import ResultMessage, RESULT_KIND_ROWS
2424

2525

2626
class DecodeOptimizationTest(unittest.TestCase):

0 commit comments

Comments
 (0)