You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks @bcolsen . Basically, unlike setting SPYDER_PYTEST, which is set by the test suite to force Spyder to run with a clean configuration directory, passing the --test flag to bootstrap.py just sets the SPYDER_TEST env variable which instead tells spyder to not load and save your individual settings file, spyder.ini (or its Linux equivalent), while not affecting handling of anything else inside for spyder-py3 directory, including the history logs for the normal and internal consoles, along with your pylint, profiler, working dir, help, and online help histories, your language and rope settings, any third party plugins you may have installed, and your default temp.py and template.py (new file template) files. Obviously, this is not particularly desirable for most testing scenarios—one would want "clean" to be truly "clean", without such cruft.
While we could just have the history log check for TEST when loading/saving history and handle it accordingly, as we currently do with spyder.ini the better solution I would think would be to just have --test set the Spyder config dir to a clean temp one, just like SPYDER_PYTEST currently does. I've implemented and tested it locally, and everything seems to work fine—I'll push a PR momentarily.
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Problem Description
I found that ./bootstap.py --test would also open a default Spyder instance for debugging.
But it opens your local history and opens new file with my template
It would be easier to debug issues with out resetting my Syder config all the time.
What steps reproduce the problem?
What is the expected output? What do you see instead?
Like temporary a spyder reset
Versions
From anaconda in a new environ.
Spyder started from the command line with
./bootstrap.py --test
Dependencies
The text was updated successfully, but these errors were encountered: