We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d48748 commit 64af33aCopy full SHA for 64af33a
1 file changed
tests/jax/test_api.py
@@ -379,18 +379,22 @@ def _reg_fun(p):
379
):
380
continue
381
382
- # jax-galsim Bounds classes do not store xmax, ymax
383
- if issubclass(cls, jax_galsim.Bounds) and method in [
384
- "xmax",
385
- "ymax",
+ # jax-galsim BoundsI classes do not store xmin, ymin
+ if issubclass(cls, jax_galsim.BoundsI) and method in [
386
"xmin",
387
"ymin",
388
- "isStatic",
389
"deltax",
390
"deltay",
391
]:
392
393
+ if issubclass(cls, jax_galsim.Bounds) and method in [
+ "xmax",
+ "ymax",
394
+ "isStatic",
395
+ ]:
396
+ continue
397
+
398
assert method in dir(gscls), (
399
cls.__name__ + "." + method + " not in galsim." + gscls.__name__
400
)
0 commit comments