Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-8611

Pybind11 wrapping tutorial has wrong test setup

    Details

    • Type: Bug
    • Status: Invalid
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Templates:
    • Story Points:
      2
    • Team:
      Data Release Production

      Description

      The modified `tests/SConscript` described in the pybind11 tutorial causes no tests to run. Replacing the initialization of pybind11_ported_tests with

      pybind11_ported_tests = [t[6:].strip() for t in tests if not t.startswith('#')]
      

      gives the desired behavior.

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  fred3m Fred Moolekamp
                  Reporter:
                  krzys Krzysztof Findeisen
                  Watchers:
                  Fred Moolekamp, Krzysztof Findeisen
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel