Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.extension
Commits
3747fc38
Commit
3747fc38
authored
Oct 28, 2014
by
Manuel Günther
Browse files
Fixed python 3 issue
parent
20e7e610
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/extension/test_utils.py
View file @
3747fc38
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment