[issue16817] test___all__ affects other tests by doing too much importing

2018-07-21 Thread Matej Cepl
Matej Cepl added the comment: > This is superceded by: > > http://bugs.python.org/issue18906 Then it should be closed, right? -- nosy: +mcepl ___ Python tracker ___

[issue16817] test___all__ affects other tests by doing too much importing

2013-10-08 Thread Eli Bendersky
Eli Bendersky added the comment: This is superceded by: http://bugs.python.org/issue18906 -- superseder: -> Create a way to always run tests in subprocesses within regrtest ___ Python tracker

[issue16817] test___all__ affects other tests by doing too much importing

2013-01-26 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue16817] test___all__ affects other tests by doing too much importing

2013-01-26 Thread Eli Bendersky
Eli Bendersky added the comment: Eric, yes the key code in test_xml_etree that handles this is: def pickleRoundTrip(self, obj, name, dumper, loader): save_m = sys.modules[name] try: sys.modules[name] = dumper temp = pickle.dumps(obj) sys.mo

[issue16817] test___all__ affects other tests by doing too much importing

2013-01-25 Thread Eric Snow
Eric Snow added the comment: So the current solution is to temporarily put the relevant module in place in sys.modules, right? That seems to be the solution that Stefan recommended and used in the decimal module. Sounds good to me. I'm hitting this while doing the PEP 399 two-step for the co

[issue16817] test___all__ affects other tests by doing too much importing

2013-01-05 Thread Eli Bendersky
Changes by Eli Bendersky : -- dependencies: +sys.path in tests contains system directories ___ Python tracker ___ ___ Python-bugs-list

[issue16817] test___all__ affects other tests by doing too much importing

2012-12-30 Thread Eli Bendersky
Changes by Eli Bendersky : -- title: test___all__ has to save and restore sys.modules while it does all the importing -> test___all__ affects other tests by doing too much importing ___ Python tracker