We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18639cf commit 9aca22bCopy full SHA for 9aca22b
1 file changed
tests/test_random.py
@@ -823,7 +823,6 @@ def test_poisson():
823
824
# Discard normally emits a warning for Poisson
825
p2 = galsim.PoissonDeviate(testseed, mean=pMean)
826
- # FIXME: galsim raises
827
if is_jax_galsim():
828
# jax always discards reliably
829
p2.discard(nvals)
@@ -2148,13 +2147,8 @@ def test_permute():
2148
2147
assert my_list_copy[ind_list[ind]] == my_list[ind]
2149
2150
# permute with no lists should raise TypeError
2151
- # jax galsim does not raise
2152
2153
- if is_jax_galsim():
2154
- pass
2155
- else:
2156
- with assert_raises(TypeError):
2157
- galsim.random.permute(312)
+ with assert_raises(TypeError):
+ galsim.random.permute(312)
2158
2159
2160
@timer
0 commit comments