diff options
| author | Barry Warsaw | 2015-10-08 17:08:58 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2015-10-08 17:08:58 -0400 |
| commit | 49d17bc04386293b3f659e24070f618f5f1b3b05 (patch) | |
| tree | 4878537a6baf5ac5d5307f96d6dbf92a420d103b | |
| parent | 0e2e4b4ee1799e6d0ae7a248b16ee6551f7f5e21 (diff) | |
| download | mailman-49d17bc04386293b3f659e24070f618f5f1b3b05.tar.gz mailman-49d17bc04386293b3f659e24070f618f5f1b3b05.tar.zst mailman-49d17bc04386293b3f659e24070f618f5f1b3b05.zip | |
| -rw-r--r-- | setup.py | 1 | ||||
| -rw-r--r-- | src/mailman/testing/nose.py | 4 |
2 files changed, 2 insertions, 3 deletions
@@ -107,5 +107,4 @@ case second `m'. Any other spelling is incorrect.""", 'zope.event', 'zope.interface', ], - test_suite = 'nose2.collector.collector', ) diff --git a/src/mailman/testing/nose.py b/src/mailman/testing/nose.py index e7957e57f..1e96e643f 100644 --- a/src/mailman/testing/nose.py +++ b/src/mailman/testing/nose.py @@ -25,17 +25,17 @@ __all__ = [ import os import re import doctest -import mailman import importlib from mailman.testing.documentation import setup, teardown from mailman.testing.layers import ConfigLayer, MockAndMonkeyLayer, SMTPLayer from nose2.events import Plugin +from pkg_resources import resource_filename DOT = '.' FLAGS = doctest.ELLIPSIS | doctest.NORMALIZE_WHITESPACE | doctest.REPORT_NDIFF -TOPDIR = os.path.dirname(mailman.__file__) +TOPDIR = os.path.dirname(resource_filename('mailman', '__init__.py')) |
