We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31b31a0 commit ea64358Copy full SHA for ea64358
tests/test_api_lazy.py
@@ -4,6 +4,7 @@
4
import xarray as xr
5
import os, pytest
6
import numpy as np
7
+import platform
8
9
nc.options(lazy=True)
10
@@ -46,7 +47,11 @@ def test_errors(self):
46
47
assert tracker.contents.long_name[0] == 'Monthly Means of Global Sea Surface Temperature'
48
tracker.assign(sst2 = lambda x: x.sst + 283)
49
tracker.run()
- assert str(tracker.contents.long_name[1]) == "nan"
50
+ # linux only
51
+ if platform.system() == "":
52
+ assert str(tracker.contents.long_name[1]) == "nan"
53
+ else:
54
+ assert tracker.contents.long_name[1] == None
55
56
57
# check wildcard
0 commit comments