Skip to content

Conversation

@med-ayssar
Copy link
Contributor

No description provided.

@pytest.fixture(autouse=True)
def prepare(have_threads):
nest.ResetKernel()
threads = 2 if have_threads else 1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that this way of setting the threads also was done in the SLI version. However, based on the name of test, I would expect this to be a multithreaded test. I suggest to make this a multithreaded test only with pytest.mark.skipif_missing_threads.

@heplesser
Copy link
Contributor

@med-ayssar Remember to merge master to activate black-testing.

@nicolossus nicolossus added S: Normal Handle this with default priority T: Maintenance Work to keep up the quality of the code and documentation. I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) labels Aug 24, 2023
@nicolossus nicolossus self-requested a review August 24, 2023 13:31
Copy link
Member

@nicolossus nicolossus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@med-ayssar I have created a PR towards your branch with suggested changes and a merge with master. See med-ayssar#4. Once those changes are in, your PR can be merged with master.

@nicolossus
Copy link
Member

Replaced by #2978.

@nicolossus nicolossus closed this Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) S: Normal Handle this with default priority T: Maintenance Work to keep up the quality of the code and documentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants