Commit Graph

10 Commits

Author SHA1 Message Date
Antoine Pitrou adffced3df Preserve the original environment (e.g. LD_LIBRARY_PATH) 2010-11-09 22:04:44 +00:00
Antoine Pitrou 9bc35682de Use script_helper in one more test 2010-11-09 21:33:55 +00:00
Brian Curtin c4ac887917 Close subprocess pipes to clear ResourceWarning messages in debug mode. 2010-11-01 14:00:33 +00:00
Antoine Pitrou f51d8d3a2e Better Python spawning primitives in test.script_helper, for
easier writing of unit tests and better error reporting.
2010-10-08 18:05:42 +00:00
Nick Coghlan d26c18adcc Issue #8202: Set sys.argv[0] to -m rather than -c while searching for the module to execute. Also updates all the cmd_line_script tests to validate the setting of sys.path[0] and the current working directory 2010-08-17 13:06:11 +00:00
Florent Xicluna 02ea12b291 Syntax cleanup. 2010-07-28 16:39:41 +00:00
Barry Warsaw 28a691b7fd PEP 3147 2010-04-17 00:19:56 +00:00
Florent Xicluna 8de42e2d50 Use UTF-8 encoding to create Python test scripts. 2010-02-27 16:12:22 +00:00
Antoine Pitrou 4e7dc5fae9 Merged revisions 76716 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76716 | antoine.pitrou | 2009-12-08 20:25:51 +0100 (mar., 08 déc. 2009) | 4 lines

  Fix the transient refleaks in test_zipimport_support.
  Diagnosis and original patch by Florent Xicluna (flox).
........
2009-12-08 19:27:24 +00:00
Nick Coghlan 260bd3e557 Merged revisions 76286-76287,76289-76294,76296-76299,76301-76305,76307,76310-76311,76313-76322 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76286 | nick.coghlan | 2009-11-15 17:30:34 +1000 (Sun, 15 Nov 2009) | 1 line

  Issue #6816: expose the zipfile and directory execution mechanism to Python code via the runpy module. Also consolidated some script execution functionality in the test harness into a helper module and removed some implementation details from the runpy module documentation.
........
  r76321 | nick.coghlan | 2009-11-16 13:55:51 +1000 (Mon, 16 Nov 2009) | 1 line

  Account for another cache when hunting ref leaks
........
  r76322 | nick.coghlan | 2009-11-16 13:57:32 +1000 (Mon, 16 Nov 2009) | 1 line

  Allow for backslashes in file paths passed to the regex engine
........
2009-11-16 06:49:25 +00:00