Skip to content

Commit a72e8b8

Browse files
committed
PYTHON-2133 Remove py2 support from test
Also delete bson/py3compat.py
1 parent 6c2d629 commit a72e8b8

37 files changed

+203
-690
lines changed

bson/int64.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,7 @@
1414

1515
"""A BSON wrapper for long (int in python3)"""
1616

17-
from bson.py3compat import PY3
18-
19-
if PY3:
20-
long = int
21-
22-
23-
class Int64(long):
17+
class Int64(int):
2418
"""Representation of the BSON int64 type.
2519
2620
This is necessary because every integral number is an :class:`int` in

bson/py3compat.py

Lines changed: 0 additions & 107 deletions
This file was deleted.

test/barrier.py

Lines changed: 0 additions & 193 deletions
This file was deleted.

0 commit comments

Comments
 (0)