Skip to content

Commit

Permalink
Merge pull request MDAnalysis#791 from jbarnoud/issue-784-dynamic-aut…
Browse files Browse the repository at this point in the history
…hors

Remove relative imports introduced in MDAnalysis#787
  • Loading branch information
richardjgowers committed Mar 20, 2016
2 parents 33e15b6 + c7a1593 commit 2cc1cc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion testsuite/MDAnalysisTests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@

__version__ = "0.14.1-dev0" # keep in sync with RELEASE in setup.py
try:
from .authors import __authors__
from MDAnalysisTests.authors import __authors__
except ImportError:
logger.info('Could not find authors.py, __authors__ will be empty.')
__authors__ = []
Expand Down
2 changes: 1 addition & 1 deletion testsuite/MDAnalysisTests/test_authors.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ def test_package_authors():


def test_testsuite_authors():
from . import __authors__
from MDAnalysisTests import __authors__
assert_(len(__authors__) > 0,
'Could not find the list of authors')

0 comments on commit 2cc1cc3

Please sign in to comment.