Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests on Python 2 #43

Merged
merged 1 commit into from
Nov 12, 2019
Merged

Commits on Nov 11, 2019

  1. Fix tests on Python 2

    ZODB 5.5.0 added an "import mock" to ZODB.tests.util (or "from unittest
    import mock" on Python 3, which is in the standard library).  ZODB[test]
    included the new dependency, but zope.component wasn't using that for
    tests.
    
    However, ZODB.tests.util.DB was just an import of
    ZODB.MappingStorage.DB, so we can just as easily use the latter and
    avoid the extra dependency.
    cjwatson committed Nov 11, 2019
    Configuration menu
    Copy the full SHA
    8f8a645 View commit details
    Browse the repository at this point in the history