You can try making these changes: -from hypothesis import given, settings +from hypothesis import given, settings, Verbosity
-@settings(max_examples=5000, deadline=timedelta(seconds=4)) +@settings(max_examples=5000, deadline=timedelta(seconds=4), verbosity=Verbosity.verbose) And then add the '-s' option to the pytest command line so the stdout will be displayed as the test run. That will at least give you feedback in the console if anything is happening. But it make the total runtime of the tests longer. For me the tests are finishing within two minutes. I tried the verbose output because I was curious what tests were being run. Really I wanted to run them with screen updates in between each step so I could get a visual feel for what the tests are doing. But I haven't investigated yet to see what I would have to do to force Qt to refresh the screen. You could also try setting max_examples really low just as a baseline-sanity check. On Sat, May 9, 2020 at 8:15 AM Edward K. Ream <[email protected]> wrote: > On Friday, May 8, 2020 at 1:42:12 AM UTC-5, vitalije wrote: > > > I use pytest for running the tests. Just 'pytest myleoqt.py'. > > When I do that a blank python window appears and everything hangs. > > I've tried waiting several minutes. What should I do? > > Edward > > -- > You received this message because you are subscribed to the Google Groups > "leo-editor" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/leo-editor/0f5bb32d-20a9-49ea-ac86-bdc2b845e4f0%40googlegroups.com > <https://groups.google.com/d/msgid/leo-editor/0f5bb32d-20a9-49ea-ac86-bdc2b845e4f0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CAO5X8Cyfw3fxDUh-qmPhOMbFZbwEktUThb0kmr8fZ_AUNuzdSA%40mail.gmail.com.
