File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 44
55- Drop Python 2 Support (#37 ).
66- Drop Django 1.11 support (#40 ).
7+ - Remove ` six ` from the requirements (#43 ).
78
89## 1.5.0 (2020-02-05)
910
Original file line number Diff line number Diff line change 1- import six
1+ from io import StringIO
22
33from django .test import TestCase
44
@@ -146,7 +146,7 @@ def test_chunk_uuid(self):
146146 def test_chunk_missing_pk (self ):
147147 with self .assertRaises (MissingPkFieldException ):
148148 result = chunkator (User .objects .all ().values ("name" ), 10 )
149- six . next (result )
149+ next (result )
150150
151151
152152class ChunkatorWhereTest (TestCase ):
@@ -157,7 +157,7 @@ def setUp(self):
157157 User .objects .create (name = 'ChuckNorris' )
158158
159159 def test_query_log (self ):
160- query_log_output = six . StringIO ()
160+ query_log_output = StringIO ()
161161 qs = User .objects .all ()
162162 # We loop here only to dig into the generator and force execution
163163 for item in chunkator (qs , 1 , query_log = query_log_output ):
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ def namespace_packages(project_name):
5858
5959name = 'django-chunkator'
6060readme = read_relative_file ('README.rst' )
61- requirements = ['six' , ' django' ]
61+ requirements = ['django' ]
6262entry_points = {}
6363
6464
You can’t perform that action at this time.
0 commit comments