Skip to content

Commit ba70a9d

Browse files
committed
Possible fix for PyPy
1 parent d288ac5 commit ba70a9d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

HISTORY.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ History
1010
addition to the existing memory-map mode. If your Python does not provide
1111
the ``mmap`` module, the file mode will be used by default.
1212
* The preferred method for opening a database is now the ``open_database``
13-
function in ``maxminddb``. This function now takes an optional file
13+
function in ``maxminddb``. This function now takes an optional read
1414
``mode``.
15+
* The C extension no longer creates its own ``InvalidDatabaseError`` class
16+
and instead uses the one defined in ``maxminddb.errors``.
1517

1618
1.0.0 (2014-09-22)
1719
++++++++++++++++++

tests/reader_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
import sys
77

8+
import maxminddb
9+
810
from maxminddb import open_database, InvalidDatabaseError
911
from maxminddb.compat import FileNotFoundError
1012
from maxminddb.const import MODE_MMAP_EXT, MODE_MMAP, MODE_FILE, MODE_MEMORY

0 commit comments

Comments
 (0)