]> git.pld-linux.org Git - packages/python3.git/blobdiff - python3-no_cmdline_tests.patch
- release 2 (by relup.sh)
[packages/python3.git] / python3-no_cmdline_tests.patch
index ad01727cf4d706f8b2d7f6d9e9b05befa7b9680f..392c63a53bd482a43f8db0cc5029c07acf7ff785 100644 (file)
@@ -1,30 +1,17 @@
-diff -Nur Python-3.3.1.orig/Lib/test/regrtest.py Python-3.3.1/Lib/test/regrtest.py
---- Python-3.3.1.orig/Lib/test/regrtest.py     2013-04-06 08:41:41.000000000 +0100
-+++ Python-3.3.1/Lib/test/regrtest.py  2013-04-07 19:39:23.432490962 +0100
-@@ -243,7 +243,7 @@
- from test import support
--RESOURCE_NAMES = ('audio', 'curses', 'largefile', 'network',
-+RESOURCE_NAMES = ('audio', 'curses', 'largefile', 'network', 'cmdline',
-                   'decimal', 'cpu', 'subprocess', 'urlfetch', 'gui')
- TEMPDIR = os.path.abspath(tempfile.gettempdir())
 diff -Nur Python-3.3.1.orig/Lib/test/test_compileall.py Python-3.3.1/Lib/test/test_compileall.py
 --- Python-3.3.1.orig/Lib/test/test_compileall.py      2013-04-06 08:41:41.000000000 +0100
 +++ Python-3.3.1/Lib/test/test_compileall.py   2013-04-07 19:39:23.449157629 +0100
-@@ -130,7 +130,7 @@
-         finally:
+@@ -233,6 +233,7 @@ class EncodingTest(unittest.TestCase):
              sys.stdout = orig_stdout
  
--
 +@unittest.skipUnless(support.is_resource_enabled("cmdline"), "python cmdline tests disabled")
- class CommandLineTests(unittest.TestCase):
+ class CommandLineTestsBase:
      """Test compileall's CLI."""
  
-diff -Nur Python-3.3.1.orig/Lib/test/test_warnings.py Python-3.3.1/Lib/test/test_warnings.py
---- Python-3.3.1.orig/Lib/test/test_warnings.py        2013-04-06 08:41:46.000000000 +0100
-+++ Python-3.3.1/Lib/test/test_warnings.py     2013-04-07 19:41:25.529164545 +0100
+diff -Nur Python-3.3.1.orig/Lib/test/test_warnings/__init__.py Python-3.3.1/Lib/test/test_warnings/__init__.py
+--- Python-3.3.1.orig/Lib/test/test_warnings/__init__.py       2013-04-06 08:41:46.000000000 +0100
++++ Python-3.3.1/Lib/test/test_warnings/__init__.py    2013-04-07 19:41:25.529164545 +0100
 @@ -717,6 +717,7 @@
      module = py_warnings
  
This page took 0.025533 seconds and 4 git commands to generate.