Skip to content

Commit 3a50dbf

Browse files
committed
fix version test for Python 2.7
1 parent 01387e6 commit 3a50dbf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

MDAnalysisData/tests/test_package_metadata.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# -*- coding: utf-8 -*-
22

33
import sys
4+
import six
45
from six.moves import reload_module
56
import pytest
67

@@ -28,4 +29,4 @@ def test_default_authors(monkeypatch):
2829
def test_version():
2930
# very generic because versioneer will provide different strings depending
3031
# on the repository status
31-
assert isinstance(MDAnalysisData.__version__, str)
32+
assert isinstance(MDAnalysisData.__version__, six.string_types)

0 commit comments

Comments
 (0)