-
Notifications
You must be signed in to change notification settings - Fork 391
Removed unreusable reusable code for better readability #3510
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
Conversation
| to function print_details. | ||
| """ | ||
| nest.ResetKernel() | ||
| nest.SetKernelStatus({"tics_per_ms": 2**14, "resolution": resolution}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nest.set
| nest.SetKernelStatus({"tics_per_ms": 2**14, "resolution": resolution}) | |
| nest.set(tics_per_ms=2**14, resolution=resolution) |
| neuron = nest.Create(model, params=params) | ||
| nest.Simulate(duration) | ||
|
|
||
| V_m = nest.GetStatus(neuron, "V_m")[0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| V_m = nest.GetStatus(neuron, "V_m")[0] |
| V_m = nest.GetStatus(neuron, "V_m")[0] | ||
| expected_V_m = params["I_e"] * params["tau_m"] / params["C_m"] * (1.0 - math.exp(-duration / params["tau_m"])) | ||
|
|
||
| assert math.fabs(V_m - expected_V_m) < tolerance |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| assert math.fabs(V_m - expected_V_m) < tolerance | |
| assert neuron.V_m == pytest.approx(expected_V_m) |
|
|
||
| nest.Simulate(duration) | ||
|
|
||
| spike_times = nest.GetStatus(spike_recorder, "events")[0]["times"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| spike_times = nest.GetStatus(spike_recorder, "events")[0]["times"] | |
| spike_times = spike_recorder.get("events", "times") |
| events = nest.GetStatus(vm, "events")[0] | ||
| times = np.array(events["times"]).reshape(-1, 1) | ||
| V_m = np.array(events["V_m"]).reshape(-1, 1) | ||
| results = np.hstack((times, V_m)) | ||
|
|
||
| actual, expected = testutil.get_comparable_timesamples( | ||
| results, | ||
| np.array( | ||
| [ | ||
| [0.1, -70], | ||
| [0.2, -70], | ||
| [0.3, -70], | ||
| [0.4, -70], | ||
| [0.5, -70], | ||
| [2.8, -70], | ||
| [2.9, -70], | ||
| [3.0, -70], | ||
| [3.1, -70], | ||
| [3.2, -70], | ||
| [3.3, -70], | ||
| [3.4, -70], | ||
| [3.5, -70], | ||
| [4.8, -70], | ||
| [4.9, -70], | ||
| [5.0, -70], | ||
| [5.1, -69.9974], | ||
| [5.2, -69.9899], | ||
| [5.3, -69.9781], | ||
| [5.4, -69.9624], | ||
| [5.5, -69.9434], | ||
| [5.6, -69.9213], | ||
| [5.7, -69.8967], | ||
| [5.8, -69.8699], | ||
| [5.9, -69.8411], | ||
| [6.0, -69.8108], | ||
| ] | ||
| ), | ||
| ) | ||
| assert actual == expected |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| events = nest.GetStatus(vm, "events")[0] | |
| times = np.array(events["times"]).reshape(-1, 1) | |
| V_m = np.array(events["V_m"]).reshape(-1, 1) | |
| results = np.hstack((times, V_m)) | |
| actual, expected = testutil.get_comparable_timesamples( | |
| results, | |
| np.array( | |
| [ | |
| [0.1, -70], | |
| [0.2, -70], | |
| [0.3, -70], | |
| [0.4, -70], | |
| [0.5, -70], | |
| [2.8, -70], | |
| [2.9, -70], | |
| [3.0, -70], | |
| [3.1, -70], | |
| [3.2, -70], | |
| [3.3, -70], | |
| [3.4, -70], | |
| [3.5, -70], | |
| [4.8, -70], | |
| [4.9, -70], | |
| [5.0, -70], | |
| [5.1, -69.9974], | |
| [5.2, -69.9899], | |
| [5.3, -69.9781], | |
| [5.4, -69.9624], | |
| [5.5, -69.9434], | |
| [5.6, -69.9213], | |
| [5.7, -69.8967], | |
| [5.8, -69.8699], | |
| [5.9, -69.8411], | |
| [6.0, -69.8108], | |
| ] | |
| ), | |
| ) | |
| assert actual == expected | |
| res = vm.get("events", ["times", "V_m"]) | |
| vm_expected = testutil.get_samples_at_nearest_times(res["times"], | |
| np.array( | |
| [ | |
| [0.1, -70], | |
| [0.2, -70], | |
| [0.3, -70], | |
| [0.4, -70], | |
| [0.5, -70], | |
| [2.8, -70], | |
| [2.9, -70], | |
| [3.0, -70], | |
| [3.1, -70], | |
| [3.2, -70], | |
| [3.3, -70], | |
| [3.4, -70], | |
| [3.5, -70], | |
| [4.8, -70], | |
| [4.9, -70], | |
| [5.0, -70], | |
| [5.1, -69.9974], | |
| [5.2, -69.9899], | |
| [5.3, -69.9781], | |
| [5.4, -69.9624], | |
| [5.5, -69.9434], | |
| [5.6, -69.9213], | |
| [5.7, -69.8967], | |
| [5.8, -69.8699], | |
| [5.9, -69.8411], | |
| [6.0, -69.8108], | |
| ] | |
| ), | |
| ) | |
| assert actual == pytest.approx(expected) |
|
@heplesser It seems like the tests do rely on |
|
Hi @Helveg are there any updates on this? |
|
I'd need some input. I think the best way forward is to run the old version of the tests and see which data points end up being used, and assume those are the correct and intended reference points, hardcore them, and remove the flawed utility function. The danger is ofcourse that this propagates incorrect tests, but I don't have the time/experience to assess what the correct outcomemof each test should be. |
|
Pull request automatically marked stale! |
|
I'll get around to finding out what the corret input is some weekend day soon hopefully. But if anyone can just check what the current values on main are and whether they're the correct and expected output, this could be merged. |
|
@Helveg I am looking at it, will get back to you within a day or two. |
* remove trailing spaces * set haveMPI4py to 'False' if NEST was compiled without MPI * Check that NEST is installed with MPI support and mpi4py is available * Check that NEST is installed with MPI support and mpi4py is available * load MPI module * fix code style violations * check that NEST is installed with MPI support and mpi4py is available * check that NEST is installed with MPI support and mpi4py is available * fix typo in workflow * revert quoting in github expression syntax * added diffs from developers without pre-commit * Bump actions/cache from 4.2.3 to 4.2.4 Bumps [actions/cache](https://github.com/actions/cache) from 4.2.3 to 4.2.4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@5a3ec84...0400d5f) --- updated-dependencies: - dependency-name: actions/cache dependency-version: 4.2.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump actions/checkout from 4.2.2 to 5.0.0 Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.2 to 5.0.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@11bd719...08c6903) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 5.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Bump github/codeql-action from 3.29.2 to 3.29.9 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.29.2 to 3.29.9. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@181d5ee...df55935) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 3.29.9 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * add test * change ampltiude * black * black * black * flake8 * flake8 * rm original test * Bump actions/setup-python from 4.7.0 to 5.6.0 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.7.0 to 5.6.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v4.7.0...a26af69) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: 5.6.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Update testsuite/pytests/sli2py_neurons/test_iaf_psc_exp_ps_lossless.py Co-authored-by: Hans Ekkehard Plesser <hans.ekkehard.plesser@nmbu.no> * parameterize test, single file * improve network model text, add links * Update doc/htmldoc/models/index.rst * Bump actions/dependency-review-action from 4.7.1 to 4.7.2 Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.7.1 to 4.7.2. - [Release notes](https://github.com/actions/dependency-review-action/releases) - [Commits](actions/dependency-review-action@da24556...bc41886) --- updated-dependencies: - dependency-name: actions/dependency-review-action dependency-version: 4.7.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump github/codeql-action from 3.29.9 to 3.29.10 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.29.9 to 3.29.10. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@df55935...96f518a) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 3.29.10 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump actions/checkout from 4.1.1 to 5.0.0 Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 5.0.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4.1.1...08c6903) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 5.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * remove Potjans from examples * update links, add intersphinx to pd14 * update network index page * Bump github/codeql-action from 3.29.10 to 3.29.11 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.29.10 to 3.29.11. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@96f518a...3c3833e) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 3.29.11 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Properly delete proxy nodes on finalization. * Use unique_ptr to pass SecondaryEvents to functions to avoid memory leaks. Co-authored-by: med-ayssar <med.ayssar@gmail.com> * Update-cycle monitoring now thread-safe * Ensure that testsuite detects missing test results * Ensure all found tests are run and phases with zero results detected * Detect missing tests based on hard-coded minimal numbers * Temporarily show summary invocation * Fix bugs in shell code * Adjust required test counts to account for missing python and missing threads * Fix typo. Co-authored-by: Pooja Babu <75320801+pnbabu@users.noreply.github.com> * Fix indentation * Temporarily active debug output for Music tests * Remove quotes that broke musictests * Remove debug output and add comment * Bump step-security/harden-runner from 2.13.0 to 2.13.1 Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.13.0 to 2.13.1. - [Release notes](https://github.com/step-security/harden-runner/releases) - [Commits](step-security/harden-runner@ec9f2d5...f4a75cf) --- updated-dependencies: - dependency-name: step-security/harden-runner dependency-version: 2.13.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Add doxygen comment for method. * Backport atomic from pynest-ng to avoid data race * Move update of thread-local node data out of set_target() and into serial location; rename methods and variables. * Revert "Backport atomic from pynest-ng to avoid data race" because it introduces a new data race. This reverts commit c4ed2c4. * Fix typo * Remove unused function * Switch to auto or size_t instead of decltype. * add whatsnew * typo * update text * Update doc/htmldoc/whats_new/v3.9/index.rst Co-authored-by: Hans Ekkehard Plesser <hans.ekkehard.plesser@nmbu.no> * Update doc/htmldoc/whats_new/v3.9/index.rst Co-authored-by: Hans Ekkehard Plesser <hans.ekkehard.plesser@nmbu.no> * Started simplifying stopwatch * Simplified stopwatch implementation and fixed bugs * Fix problems and tidy up code * Update nestkernel/stopwatch_impl.h Co-authored-by: Hans Ekkehard Plesser <hans.ekkehard.plesser@nmbu.no> * Fix nest-server * Update benchmark plots for documentation * Update description * Add website with correct benchmark results of NEST 3.8 * Fix naming * Apply suggestions from code review * Update doc/htmldoc/benchmark_results.rst * Update doc/htmldoc/previous_benchmark_results.rst Co-authored-by: jessica-mitchell <mitchell20j@gmail.com> * Add error description * Update doc/htmldoc/previous_benchmark_results.rst * Improve test for GetNodes() * Made test_GetNodes MPI-safe * Fix various bugs in GetNodes * Fixes for backport from ng to master * Make tests safe if NEST was built without threads * Fix backport * Check local_only also for no-match case. Co-authored-by: med-ayssar <med.ayssar@gmail.com> * Bump actions/stale from 9.1.0 to 10.1.0 Bumps [actions/stale](https://github.com/actions/stale) from 9.1.0 to 10.1.0. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](actions/stale@5bef64f...5f858e3) --- updated-dependencies: - dependency-name: actions/stale dependency-version: 10.1.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * bump version * Bump actions/dependency-review-action from 4.7.2 to 4.8.1 Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.7.2 to 4.8.1. - [Release notes](https://github.com/actions/dependency-review-action/releases) - [Commits](actions/dependency-review-action@bc41886...40c09b7) --- updated-dependencies: - dependency-name: actions/dependency-review-action dependency-version: 4.8.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump github/codeql-action from 3.29.11 to 4.30.9 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.29.11 to 4.30.9. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@3c3833e...16140ae) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 4.30.9 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Bump actions/setup-python from 5.6.0 to 6.0.0 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.6.0 to 6.0.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@a26af69...e797f83) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: 6.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Bump peter-evans/repository-dispatch from 3.0.0 to 4.0.0 Bumps [peter-evans/repository-dispatch](https://github.com/peter-evans/repository-dispatch) from 3.0.0 to 4.0.0. - [Release notes](https://github.com/peter-evans/repository-dispatch/releases) - [Commits](peter-evans/repository-dispatch@ff45666...5fc4efd) --- updated-dependencies: - dependency-name: peter-evans/repository-dispatch dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Bump ossf/scorecard-action from 2.4.2 to 2.4.3 Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.4.2 to 2.4.3. - [Release notes](https://github.com/ossf/scorecard-action/releases) - [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md) - [Commits](ossf/scorecard-action@05b42c6...4eaacf0) --- updated-dependencies: - dependency-name: ossf/scorecard-action dependency-version: 2.4.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump actions/cache from 4.2.4 to 4.3.0 Bumps [actions/cache](https://github.com/actions/cache) from 4.2.4 to 4.3.0. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@0400d5f...0057852) --- updated-dependencies: - dependency-name: actions/cache dependency-version: 4.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump psf/black from 25.1.0 to 25.9.0 Bumps [psf/black](https://github.com/psf/black) from 25.1.0 to 25.9.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](psf/black@8a737e7...af0ba72) --- updated-dependencies: - dependency-name: psf/black dependency-version: 25.9.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump actions/upload-artifact from 4.6.2 to 5.0.0 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.2 to 5.0.0. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@ea165f8...330a01c) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: 5.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Bump github/codeql-action from 4.30.9 to 4.31.1 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.30.9 to 4.31.1. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@16140ae...5fe9434) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 4.31.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * add note in docs about how to use volume transmitter during network setup * Add suggestion for future code improvement. * Fix whitespace. * Add empty line to comply with coding standards. * Update models/stdp_dopamine_synapse.h Co-authored-by: jessica-mitchell <mitchell20j@gmail.com> * Set expected SLI test file counts to 1 to facilitate SLI2Py sprint * Broke one test function with multiple tests into multiple functions * Add additional pytest marker to pyproject * Connect array test for all_to_all * Update testsuite/pytests/sli2py_regressions/test_ticket_710.py * Update testsuite/pytests/sli2py_regressions/test_ticket_507.py * Update testsuite/pytests/sli2py_regressions/test_ticket_433.py * Update testsuite/pytests/sli2py_regressions/test_ticket_716.py * Update testsuite/pytests/sli2py_regressions/test_ticket_737.py Co-authored-by: jessica-mitchell <mitchell20j@gmail.com> * readd * Make MPI test wrapper more robust when parametrizing with strings and functions * Move test_connect_array_* tests from SLI to Py * Adjust test to improved wrapper * Fix Flake8 issues * Convert non-thread-skipping from unittest to pytest * Simplify tests to focus on connectivity generation. * Remove test_get_nodes.sli, Python implementation already in place * Port test_ginzburg_neuron from SLI to Py * Fix line length * Convert non-thread-skipping from unittest to pytest * Add wrapper variant checking for identical results on all ranks * Port test_global_rng from SLI to Py * rm test 881 * Port mpitets/test_iaf_ring from SLI to Py and refactor in the process * Turn off debug output * port test using cursor * Fix bug in GetLocalNodeCollection * Port mpitests/test_localonly from SLI to Py * Port mpitests/test_mip_generator to Python * Delete sli version * Make MPI test wrapper more robust when parametrizing with strings and functions * Generalizd test to parameterized version covering almost all generator tests * Fix copyright header * Adjust test to improved wrapper * Remove test_global_rng.sli to completed nest#3630 * Port test_multiple_synapses from SLI to Py * Integrate one_to_one and pairwise_bernoulli cases into test_all_to_all and rename * Include test_pp_psc_delta in test_generators and thus port from SLI to Py * Add support for multimeter data and enforce tab-separated other.csv files * Port test_rate_neurons_mpi from SLI to Py * Ensure tests write tab-separated other.csv files * Add support for multimeter data and enforce tab-separated other.csv files * Ensure tests write tab-separated other.csv files * Add support for test-specific assert functions * Port tests for identical and individual spike trains from poisson generator from SLI to Py * Fixed flake8 problems * Remove test that has no meaningful function any more * Port test ticket-955 from SLI to Py * Turn off debug mode. Co-authored-by: Jan Vogelsang <47158055+JanVogelsang@users.noreply.github.com> * Remove test for default delay; handled by other tests today * Simplified and integrated test * Fix get_comparable_timesamples * Add historic output comment * Fixed typo in test --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Guido Trensch <19706694+gtrensch@users.noreply.github.com> Co-authored-by: Dennis Terhorst <d.terhorst@fz-juelich.de> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dennis Terhorst <terhorstd@users.noreply.github.com> Co-authored-by: janskaar <jewskaar@gmail.com> Co-authored-by: Jessica Mitchell <j.mitchell@fz-juelich.de> Co-authored-by: jessica-mitchell <mitchell20j@gmail.com> Co-authored-by: med-ayssar <med.ayssar@gmail.com> Co-authored-by: Pooja Babu <75320801+pnbabu@users.noreply.github.com> Co-authored-by: Jan Vogelsang <j.vogelsang@fz-juelich.de> Co-authored-by: Jan Vogelsang <47158055+JanVogelsang@users.noreply.github.com> Co-authored-by: Sebastian Spreizer <spreizer@web.de> Co-authored-by: Melissa Lober <melissa.lober@gmx.de> Co-authored-by: Melissa Lober <47082241+mlober@users.noreply.github.com> Co-authored-by: C.A.P. Linssen <charl@turingbirds.com> Co-authored-by: clinssen <c.linssen@fz-juelich.de>
|
I merged your PR :) does this align these tests with the original SLI code/results again? |
|
@Helveg Something strange has happened here so that Github shows 458 files changed and two conflicts. When I compare my corresponding branch (https://github.com/heplesser/nest-simulator/tree/helveg_3510) to master, it shows me only 11 files (the expected ones). Would you mind if I closed your PR and opened a new one from my branch (including all your commits)? The test now do what the original tests did. |
|
yes, go ahead |
|
Replaced by #3661 due to git mix-up that led to 458 files changed in this PR. |
Simplify test implementation and remove complex reusable code for better readability (replacement for #3510)
This code was written by me with a lot of initial enthusiasm for
pytestduring a hackathon experimenting with best patterns for pytest, and it completely missed its mark for providing an easy reusable simulation fixture. I've removed it in favor of straightforward, less complex, much more readable test code.