Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several warnings around pytest #581

Open
carlosal1015 opened this issue Feb 8, 2024 · 0 comments
Open

Several warnings around pytest #581

carlosal1015 opened this issue Feb 8, 2024 · 0 comments

Comments

@carlosal1015
Copy link

==> Making package: python-pygmsh 7.1.17-3 (Thu Feb  8 12:40:18 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Starting build()...
* Building wheel...
Successfully built pygmsh-7.1.17-py3-none-any.whl
==> Starting check()...
============================= test session starts ==============================
platform linux -- Python 3.11.6, pytest-7.4.4, pluggy-1.4.0
rootdir: /tmp/makepkg/python-pygmsh/src/pygmsh-7.1.17
plugins: pytest_codeblocks-0.17.0, timeout-2.2.0, cov-4.1.0
collected 83 items / 8 deselected / 75 selected

README.md ...ss.......sss                                                [ 20%]
tests/test_boundary_layers.py ..                                         [ 22%]
tests/test_extrusion_entities.py ..                                      [ 25%]
tests/test_helpers.py ..                                                 [ 28%]
tests/test_labels.py .                                                   [ 29%]
tests/test_optimize.py s                                                 [ 30%]
tests/built_in/test_airfoil.py .                                         [ 32%]
tests/built_in/test_bsplines.py .                                        [ 33%]
tests/built_in/test_cube.py .                                            [ 34%]
tests/built_in/test_embed.py .s                                          [ 37%]
tests/built_in/test_hex.py .                                             [ 38%]
tests/built_in/test_hole_in_square.py .                                  [ 40%]
tests/built_in/test_layers.py .                                          [ 41%]
tests/built_in/test_pacman.py .                                          [ 42%]
tests/built_in/test_physical.py .                                        [ 44%]
tests/built_in/test_pipes.py .                                           [ 45%]
tests/built_in/test_quads.py .                                           [ 46%]
tests/built_in/test_recombine.py .                                       [ 48%]
tests/built_in/test_rectangle.py .                                       [ 49%]
tests/built_in/test_rectangle_with_hole.py .                             [ 50%]
tests/built_in/test_regular_extrusion.py .                               [ 52%]
tests/built_in/test_rotated_layers.py .                                  [ 53%]
tests/built_in/test_rotation.py .                                        [ 54%]
tests/built_in/test_screw.py .                                           [ 56%]
tests/built_in/test_splines.py .                                         [ 57%]
tests/built_in/test_subdomains.py .                                      [ 58%]
tests/built_in/test_symmetrize.py .                                      [ 60%]
tests/built_in/test_tori.py .                                            [ 61%]
tests/built_in/test_torus.py .                                           [ 62%]
tests/built_in/test_torus_crowd.py .                                     [ 64%]
tests/built_in/test_transfinite.py .                                     [ 65%]
tests/built_in/test_unordered_unoriented.py .                            [ 66%]
tests/built_in/test_volume.py .                                          [ 68%]
tests/occ/test_ball_with_stick.py .                                      [ 69%]
tests/occ/test_logo.py .                                                 [ 70%]
tests/occ/test_meshio_logo.py .                                          [ 72%]
tests/occ/test_opencascade_ball.py .                                     [ 73%]
tests/occ/test_opencascade_boolean.py ....                               [ 78%]
tests/occ/test_opencascade_booleans.py ss..                              [ 84%]
tests/occ/test_opencascade_box.py .                                      [ 85%]
tests/occ/test_opencascade_builtin_mix.py .                              [ 86%]
tests/occ/test_opencascade_cone.py .                                     [ 88%]
tests/occ/test_opencascade_cylinder.py .                                 [ 89%]
tests/occ/test_opencascade_extrude.py ..                                 [ 92%]
tests/occ/test_opencascade_regular_extrusion.py .                        [ 93%]
tests/occ/test_opencascade_torus.py .                                    [ 94%]
tests/occ/test_opencascade_wedge.py .                                    [ 96%]
tests/occ/test_refinement.py s                                           [ 97%]
tests/occ/test_translations.py ..                                        [100%]

=============================== warnings summary ===============================
../../../../../usr/lib/python3.11/site-packages/pytest_codeblocks/main.py:89
../../../../../usr/lib/python3.11/site-packages/pytest_codeblocks/main.py:89
../../../../../usr/lib/python3.11/site-packages/pytest_codeblocks/main.py:89
../../../../../usr/lib/python3.11/site-packages/pytest_codeblocks/main.py:89
../../../../../usr/lib/python3.11/site-packages/pytest_codeblocks/main.py:89
  /usr/lib/python3.11/site-packages/pytest_codeblocks/main.py:89: DeprecationWarning: pytest-codeblocks:skip is deprecated. Use pytest.mark.skip
    warnings.warn(

tests/test_boundary_layers.py::test_geo
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/test_boundary_layers.py::test_geo returned <meshio mesh object>
    Number of points: 1911
    Number of cells:
      line: 184
      triangle: 3636
      vertex: 5, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/test_boundary_layers.py::test_occ
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/test_boundary_layers.py::test_occ returned <meshio mesh object>
    Number of points: 2112
    Number of cells:
      line: 358
      triangle: 3864
      vertex: 4, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/built_in/test_airfoil.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/built_in/test_airfoil.py::test returned <meshio mesh object>
    Number of points: 3042
    Number of cells:
      line: 244
      quad: 2920
      vertex: 104, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/built_in/test_bsplines.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/built_in/test_bsplines.py::test returned <meshio mesh object>
    Number of points: 119
    Number of cells:
      line: 34
      triangle: 194
      vertex: 6, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/built_in/test_cube.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/built_in/test_cube.py::test returned <meshio mesh object>
    Number of points: 14
    Number of cells:
      line: 12
      triangle: 24
      tetra: 24
      vertex: 8, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/built_in/test_embed.py::test_in_surface
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/built_in/test_embed.py::test_in_surface returned <meshio mesh object>
    Number of points: 139
    Number of cells:
      line: 54
      triangle: 222
      vertex: 7, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/built_in/test_hex.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/built_in/test_hex.py::test returned <meshio mesh object>
    Number of points: 72
    Number of cells:
      line: 40
      quad: 62
      hexahedron: 30
      vertex: 8, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/built_in/test_hole_in_square.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/built_in/test_hole_in_square.py::test returned <meshio mesh object>
    Number of points: 8024
    Number of cells:
      line3: 320
      triangle6: 3852
      vertex: 8, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/built_in/test_layers.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/built_in/test_layers.py::test returned <meshio mesh object>
    Number of points: 316
    Number of cells:
      line: 185
      triangle: 628
      tetra: 681
      vertex: 24, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/built_in/test_pacman.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/built_in/test_pacman.py::test returned <meshio mesh object>
    Number of points: 826
    Number of cells:
      line: 100
      triangle: 1548
      vertex: 7
    Cell sets: c, arc, dummy, 77, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/built_in/test_physical.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/built_in/test_physical.py::test returned <meshio mesh object>
    Number of points: 62
    Number of cells:
      line: 32
      triangle: 116
      tetra: 144
      vertex: 8
    Cell sets: line, bottom, top, lat, volume, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/built_in/test_pipes.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/built_in/test_pipes.py::test returned <meshio mesh object>
    Number of points: 9137
    Number of cells:
      line: 762
      triangle: 14190
      tetra: 33771
      vertex: 28, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/built_in/test_quads.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/built_in/test_quads.py::test returned <meshio mesh object>
    Number of points: 140
    Number of cells:
      line: 40
      quad: 119
      vertex: 4, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/built_in/test_recombine.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/built_in/test_recombine.py::test returned <meshio mesh object>
    Number of points: 9
    Number of cells:
      line: 8
      quad: 4
      vertex: 4, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/built_in/test_rectangle.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/built_in/test_rectangle.py::test returned <meshio mesh object>
    Number of points: 142
    Number of cells:
      line: 40
      triangle: 242
      vertex: 4, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/built_in/test_rectangle_with_hole.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/built_in/test_rectangle_with_hole.py::test returned <meshio mesh object>
    Number of points: 137
    Number of cells:
      line: 56
      triangle: 216
      vertex: 9, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/built_in/test_regular_extrusion.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/built_in/test_regular_extrusion.py::test returned <meshio mesh object>
    Number of points: 264
    Number of cells:
      line: 72
      triangle: 380
      tetra: 900
      vertex: 8, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/built_in/test_rotated_layers.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/built_in/test_rotated_layers.py::test returned <meshio mesh object>
    Number of points: 1834
    Number of cells:
      line: 140
      triangle: 1088
      quad: 300
      wedge: 2720
      vertex: 24, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/built_in/test_screw.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/built_in/test_screw.py::test returned <meshio mesh object>
    Number of points: 2744
    Number of cells:
      line: 413
      triangle: 4793
      tetra: 8893
      vertex: 68, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/built_in/test_splines.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/built_in/test_splines.py::test returned <meshio mesh object>
    Number of points: 164
    Number of cells:
      line: 42
      triangle: 276
      vertex: 6, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/built_in/test_subdomains.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/built_in/test_subdomains.py::test returned <meshio mesh object>
    Number of points: 3019
    Number of cells:
      line: 412
      triangle: 5814
      vertex: 15, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/built_in/test_symmetrize.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/built_in/test_symmetrize.py::test returned <meshio mesh object>
    Number of points: 527
    Number of cells:
      line: 100
      triangle: 972
      vertex: 6, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/built_in/test_tori.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/built_in/test_tori.py::test returned <meshio mesh object>
    Number of points: 3727
    Number of cells:
      line: 834
      triangle: 6422
      tetra: 11459
      vertex: 29, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/built_in/test_torus.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/built_in/test_torus.py::test returned <meshio mesh object>
    Number of points: 1834
    Number of cells:
      line: 414
      triangle: 3144
      tetra: 5577
      vertex: 14, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/built_in/test_torus_crowd.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/built_in/test_torus_crowd.py::test returned <meshio mesh object>
    Number of points: 11127
    Number of cells:
      line: 2964
      triangle: 19414
      tetra: 31914
      vertex: 456, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/built_in/test_transfinite.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/built_in/test_transfinite.py::test returned <meshio mesh object>
    Number of points: 121
    Number of cells:
      line: 40
      triangle: 200
      vertex: 4, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/built_in/test_unordered_unoriented.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/built_in/test_unordered_unoriented.py::test returned <meshio mesh object>
    Number of points: 1545
    Number of cells:
      line: 126
      triangle: 2962
      vertex: 126, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/occ/test_ball_with_stick.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/occ/test_ball_with_stick.py::test returned <meshio mesh object>
    Number of points: 4747
    Number of cells:
      line: 258
      triangle: 5104
      tetra: 22367
      vertex: 17
    Cell sets: Sphere cut by box 1, Box 2 cut by sphere, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/occ/test_logo.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/occ/test_logo.py::test returned <meshio mesh object>
    Number of points: 558
    Number of cells:
      line: 148
      triangle: 968
      vertex: 38, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/occ/test_meshio_logo.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/occ/test_meshio_logo.py::test returned <meshio mesh object>
    Number of points: 124
    Number of cells:
      line: 68
      triangle: 182
      vertex: 11, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/occ/test_opencascade_ball.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/occ/test_opencascade_ball.py::test returned <meshio mesh object>
    Number of points: 3954
    Number of cells:
      line: 32
      triangle: 3152
      tetra: 19447
      vertex: 2, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/occ/test_opencascade_boolean.py::test_union
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/occ/test_opencascade_boolean.py::test_union returned <meshio mesh object>
    Number of points: 651
    Number of cells:
      line: 92
      triangle: 1208
      vertex: 9, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/occ/test_opencascade_boolean.py::test_intersection
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/occ/test_opencascade_boolean.py::test_intersection returned <meshio mesh object>
    Number of points: 63
    Number of cells:
      line: 24
      triangle: 100
      vertex: 3, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/occ/test_opencascade_boolean.py::test_difference
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/occ/test_opencascade_boolean.py::test_difference returned <meshio mesh object>
    Number of points: 447
    Number of cells:
      line: 92
      triangle: 800
      vertex: 9, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/occ/test_opencascade_boolean.py::test_all
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/occ/test_opencascade_boolean.py::test_all returned <meshio mesh object>
    Number of points: 554
    Number of cells:
      line: 104
      triangle: 1002
      vertex: 13, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/occ/test_opencascade_booleans.py::test_mesh_size_removal
  /tmp/makepkg/python-pygmsh/src/pygmsh-7.1.17/test-env/lib/python3.11/site-packages/pygmsh/occ/geometry.py:189: UserWarning: Specified mesh size for <pygmsh.occ.box.Box object at 0x7fea32fa8f10> discarded in Boolean union operation.
    warnings.warn(

tests/occ/test_opencascade_booleans.py::test_mesh_size_removal
  /tmp/makepkg/python-pygmsh/src/pygmsh-7.1.17/test-env/lib/python3.11/site-packages/pygmsh/occ/geometry.py:189: UserWarning: Specified mesh size for <pygmsh.occ.box.Box object at 0x7fea32fa87d0> discarded in Boolean union operation.
    warnings.warn(

tests/occ/test_opencascade_box.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/occ/test_opencascade_box.py::test returned <meshio mesh object>
    Number of points: 5824
    Number of cells:
      line: 240
      triangle: 5218
      tetra: 27786
      vertex: 8, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/occ/test_opencascade_builtin_mix.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/occ/test_opencascade_builtin_mix.py::test returned <meshio mesh object>
    Number of points: 182
    Number of cells:
      line: 45
      triangle: 317
      vertex: 6, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/occ/test_opencascade_cone.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/occ/test_opencascade_cone.py::test returned <meshio mesh object>
    Number of points: 1211
    Number of cells:
      line: 114
      triangle: 1672
      tetra: 4694
      vertex: 6, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/occ/test_opencascade_cylinder.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/occ/test_opencascade_cylinder.py::test returned <meshio mesh object>
    Number of points: 223
    Number of cells:
      line: 58
      triangle: 408
      tetra: 629
      vertex: 6, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/occ/test_opencascade_extrude.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/occ/test_opencascade_extrude.py::test returned <meshio mesh object>
    Number of points: 10811
    Number of cells:
      line: 594
      triangle: 11490
      tetra: 48583
      vertex: 38, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/occ/test_opencascade_extrude.py::test2
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/occ/test_opencascade_extrude.py::test2 returned <meshio mesh object>
    Number of points: 23075
    Number of cells:
      line: 740
      triangle: 17544
      tetra: 115904
      vertex: 14, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/occ/test_opencascade_regular_extrusion.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/occ/test_opencascade_regular_extrusion.py::test returned <meshio mesh object>
    Number of points: 264
    Number of cells:
      line: 72
      triangle: 380
      tetra: 900
      vertex: 8, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/occ/test_opencascade_torus.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/occ/test_opencascade_torus.py::test returned <meshio mesh object>
    Number of points: 1449
    Number of cells:
      line: 90
      triangle: 1992
      tetra: 5543
      vertex: 2, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

tests/occ/test_opencascade_wedge.py::test
  /usr/lib/python3.11/site-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but tests/occ/test_opencascade_wedge.py::test returned <meshio mesh object>
    Number of points: 900
    Number of cells:
      line: 112
      triangle: 1234
      tetra: 3483
      vertex: 8, which will be an error in a future version of pytest.  Did you mean to use `assert` instead of `return`?
    warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
========== 65 passed, 10 skipped, 8 deselected, 51 warnings in 11.48s ==========
==> Entering fakeroot environment...
==> Starting package()...
Important note: for the python-gmsh module to be available you need to add export PYTHONPATH="$PYTHONPATH:/usr/share/gmsh/api/python" in ~/.bashrc, ~/.zshrc, etc. :-)
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "python-pygmsh"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: python-pygmsh 7.1.17-3 (Thu Feb  8 12:40:35 2024)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant