Skip to content

test failures in Python 3.7 #35

Closed
Closed
@carlwgeorge

Description

@carlwgeorge

The test suite passes for me with Python 3.6.5, but when run with Python 3.7.0b5 there are two failures.

======================================================================
FAIL: test_no_constructor_args (reader_test.TestAutoReader)
----------------------------------------------------------------------
TypeError: function missing required argument 'database' (pos 1)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/maxminddb-1.4.0/tests/reader_test.py", line 179, in test_no_constructor_args
    cls)
AssertionError: " 1 required positional argument|\(pos 1\) not found|takes at least 2 arguments" does not match "function missing required argument 'database' (pos 1)"

======================================================================
FAIL: test_no_constructor_args (reader_test.TestExtensionReader)
----------------------------------------------------------------------
TypeError: function missing required argument 'database' (pos 1)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/maxminddb-1.4.0/tests/reader_test.py", line 179, in test_no_constructor_args
    cls)
AssertionError: " 1 required positional argument|\(pos 1\) not found|takes at least 2 arguments" does not match "function missing required argument 'database' (pos 1)"

----------------------------------------------------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions