Skip to content

Commit 59cfef0

Browse files
michaelosthegetwiecki
authored andcommitted
Don't test float128 on Windows (unsupported)
1 parent 405fd10 commit 59cfef0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pymc3/tests/test_dist_math.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14+
import sys
1415

1516
import numpy as np
1617
import numpy.testing as npt
@@ -236,7 +237,12 @@ def test_grad(self):
236237
verify_grad(i0e, [[[0.5, -2.0]]])
237238

238239

239-
@pytest.mark.parametrize("dtype", ["float16", "float32", "float64", "float128"])
240+
@pytest.mark.parametrize(
241+
"dtype",
242+
["float16", "float32", "float64", "float128"]
243+
if sys.platform != "win32"
244+
else ["float16", "float32", "float64"],
245+
)
240246
def test_clipped_beta_rvs(dtype):
241247
# Verify that the samples drawn from the beta distribution are never
242248
# equal to zero or one (issue #3898)

0 commit comments

Comments
 (0)