Skip to content

Commit

Permalink
Don't test float128 on Windows (unsupported)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelosthege committed Jan 11, 2021
1 parent 23ffa6d commit 7729ea9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pymc3/tests/test_dist_math.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import sys

import numpy as np
import numpy.testing as npt
Expand Down Expand Up @@ -236,7 +237,12 @@ def test_grad(self):
verify_grad(i0e, [[[0.5, -2.0]]])


@pytest.mark.parametrize("dtype", ["float16", "float32", "float64", "float128"])
@pytest.mark.parametrize(
"dtype",
["float16", "float32", "float64", "float128"]
if sys.platform != "win32"
else ["float16", "float32", "float64"],
)
def test_clipped_beta_rvs(dtype):
# Verify that the samples drawn from the beta distribution are never
# equal to zero or one (issue #3898)
Expand Down

0 comments on commit 7729ea9

Please sign in to comment.