Skip to content

Commit 9434b8e

Browse files
committed
Merge pull request #536 from shoyer/fix-build
Fix broken build
2 parents e3e578a + 63ebee6 commit 9434b8e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

xray/test/test_backends.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ def test_roundtrip_endian(self):
347347
@contextlib.contextmanager
348348
def create_tmp_file(suffix='.nc'):
349349
temp_dir = tempfile.mkdtemp()
350-
path = os.path.join(temp_dir, 'temp-%s.%s' % (next(_counter), suffix))
350+
path = os.path.join(temp_dir, 'temp-%s%s' % (next(_counter), suffix))
351351
try:
352352
yield path
353353
finally:
@@ -730,6 +730,9 @@ def test_cross_engine_read_write_netcdf4(self):
730730
# Drop dim3, because its labels include strings. These appear to be
731731
# not properly read with python-netCDF4, which converts them into
732732
# unicode instead of leaving them as bytes.
733+
if PY3:
734+
raise unittest.SkipTest('see https://github.com/xray/xray/issues/535')
735+
733736
data = create_test_data().drop('dim3')
734737
data.attrs['foo'] = 'bar'
735738
valid_engines = ['netcdf4', 'h5netcdf']

0 commit comments

Comments
 (0)