Ran
|
Files
7
|
Run time
1s
|
Badge
README BADGES
|
push
travis-ci
num2date: return datetimes by default if possible (#165) * make proper datetimes default * replace cftime.utime.num2date with cftime.num2date * attempt fixes * pass both utime and Unit to _num2date_to_nearest_second * revert _num2date_to_nearest_second calling sequence * dummy commit to kick travis * appease stickler * license headers * contain only_use_cftime_datetimes within utime object * revert test__num2date_to_nearest_second.py * actually pass flag to where it is needed * reinstate type check * Reinstate _num2date_to_nearest_second changes This reverts commit 0b8977787. * reinstate test changes * make sure option is passed down num2date
230 of 253 branches covered (90.91%)
Branch coverage included in aggregate %.
769 of 833 relevant lines covered (92.32%)
0.92 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
77.78 | cf_units/config.py | 49 | 14 | 12 | 2 | 1.0 | |||
87.5 | cf_units/util.py | 101 | 22 | 20 | 2 | 1.0 | |||
90.51 | cf_units/_udunits2_parser/__init__.py | 235 | 102 | 91 | 11 | 1.0 | |||
91.83 | cf_units/__init__.py | 2038 + 39 | 480 | 439 | 41 | 1.0 | |||
94.74 | cf_units/_udunits2_parser/graph.py | 140 | 49 | 48 | 1 | 1.0 | |||
95.0 | cf_units/_udunits2.pyx | 314 | 140 | 133 | 7 | 1.0 | |||
96.88 | cf_units/tex.py | 53 | 26 | 26 | 0 | 1.0 |