File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 =================================
33 * make sure zstd compression filter test always runs unless specifically disabled, fix cli test so it runs on
44 32-bit x86. New wheels for linux that include plugins (they were left out of the 1.7.5 release).
5- * fix version comparison logic that was broken when using netcdf-c >= 4.10.0 - this was the cause of
6- issue #1515 (diskless persisted datasets are no longer persisted).
75
86 version 1.7.5 (tag v1.7.5rel)
97 =============================
Original file line number Diff line number Diff line change 11import unittest
22import os
33import tempfile
4- from packaging .version import Version
54
65import numpy as np
76from numpy import ma
@@ -56,7 +55,7 @@ def test_scaled(self):
5655 # issue 730
5756 # this part fails with netcdf 4.1.3
5857 # a bug in vlen strings?
59- if Version ( __netcdf4libversion__ ) >= Version ( '4.4.0' ) :
58+ if __netcdf4libversion__ >= '4.4.0' :
6059 assert v2 [0 ] == 'first'
6160 assert v2 [1 ] == '<missing>'
6261
Original file line number Diff line number Diff line change 22import unittest
33import os
44import tempfile
5- from packaging .version import Version
65from netCDF4 import Dataset
76import numpy as np
87from numpy .testing import assert_array_equal
@@ -164,7 +163,7 @@ class VlenAppendTestCase(unittest.TestCase):
164163 def setUp (self ):
165164
166165 import netCDF4
167- if Version ( netCDF4 .__netcdf4libversion__ ) < Version ( "4.4.1" ) :
166+ if netCDF4 .__netcdf4libversion__ < "4.4.1" :
168167 self .skip = True
169168 try :
170169 self .skipTest ("This test requires NetCDF 4.4.1 or later." )
You can’t perform that action at this time.
0 commit comments