Skip to content

Commit 7e09f19

Browse files
committed
Don't use 'long' in unit tests.
breaks python 3
1 parent 4f613a9 commit 7e09f19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit/test_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def test_datetype(self):
201201
self.assertEqual(DateType.deserialize(int64_pack(1000 * expected), 0), datetime.datetime.utcfromtimestamp(expected))
202202

203203
# beyond 32b
204-
expected = long(2**33)
204+
expected = 2**33
205205
self.assertEqual(DateType.deserialize(int64_pack(1000 * expected), 0), datetime.datetime.utcfromtimestamp(expected))
206206

207207
# less than epoc (PYTHON-119)

0 commit comments

Comments
 (0)