Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
finam
Manage
Activity
Members
Labels
Plan
Issues
32
Issue boards
Milestones
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FINAM
finam
Commits
cb648b05
Commit
cb648b05
authored
9 months ago
by
Sebastian Müller
🐈
Browse files
Options
Downloads
Patches
Plain Diff
tests: 'dimensionless' now returned as ''
parent
fc849ac6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!282
fix for cf_units for pint>=0.24
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/data/test_cf_units.py
+3
-3
3 additions, 3 deletions
tests/data/test_cf_units.py
with
3 additions
and
3 deletions
tests/data/test_cf_units.py
+
3
−
3
View file @
cb648b05
...
...
@@ -23,9 +23,9 @@ class TestCfUnits(unittest.TestCase):
self
.
assertEqual
(
u
(
"
degC
"
),
"
°C
"
)
self
.
assertEqual
(
u
(
"
degree_Celsius
"
),
"
°C
"
)
self
.
assertEqual
(
u
(
""
),
"
dimensionless
"
)
self
.
assertEqual
(
u
(
"
1
"
),
"
dimensionless
"
)
self
.
assertEqual
(
u
(
"
m/m
"
),
"
dimensionless
"
)
self
.
assertEqual
(
u
(
""
),
""
)
self
.
assertEqual
(
u
(
"
1
"
),
""
)
self
.
assertEqual
(
u
(
"
m/m
"
),
""
)
self
.
assertEqual
(
u
(
"
m/s
"
),
"
m s-1
"
)
self
.
assertEqual
(
u
(
"
m s-1
"
),
"
m s-1
"
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment