Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
fslpy
Commits
1a59bea7
Commit
1a59bea7
authored
Mar 06, 2018
by
Paul McCarthy
🚵
Browse files
adjusted test for parseVersionString
parent
a5a8e0f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test_version.py
View file @
1a59bea7
...
...
@@ -18,11 +18,12 @@ import fsl.version as fslversion
def
test_parseVersionString
():
tests
=
[
(
'0.0.0'
,
[
0
,
0
,
0
]),
(
'0.0.10'
,
[
0
,
0
,
10
]),
(
'10.0.10'
,
[
10
,
0
,
10
]),
(
'10.10.10'
,
[
10
,
10
,
10
]),
(
'10.10.10.dev'
,
[
10
,
10
,
10
]),
(
'0.0.0'
,
[
0
,
0
,
0
]),
(
'0.0.10'
,
[
0
,
0
,
10
]),
(
'10.0.10'
,
[
10
,
0
,
10
]),
(
'10.10.10'
,
[
10
,
10
,
10
]),
(
'10.10.10.dev'
,
[
10
,
10
,
10
]),
(
'10.10.10.dev0'
,
[
10
,
10
,
10
]),
# old-style hotfix release numbers
(
'10.10.10a'
,
[
10
,
10
,
10
]),
...
...
Write
Preview
Supports
Markdown
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