Commit 3747fc38 authored by Manuel Günther's avatar Manuel Günther
Browse files

Fixed python 3 issue

parent 20e7e610
...@@ -135,7 +135,8 @@ package-z ...@@ -135,7 +135,8 @@ package-z
import numpy import numpy
result = link_documentation(['numpy'], None) result = link_documentation(['numpy'], None)
assert len(result) == 1 assert len(result) == 1
assert '/numpy' in result.keys()[0] key = list(result.keys())[0]
assert '/numpy' in key
except ImportError: except ImportError:
pass pass
...@@ -143,8 +144,9 @@ package-z ...@@ -143,8 +144,9 @@ package-z
import scipy import scipy
result = link_documentation(['scipy'], None) result = link_documentation(['scipy'], None)
assert len(result) == 1 assert len(result) == 1
assert '/scipy' in result.keys()[0] key = list(result.keys())[0]
assert '/reference' in result.keys()[0] assert '/scipy' in key
assert '/reference' in key
except ImportError: except ImportError:
pass pass
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment