]>
Commit | Line | Data |
---|---|---|
1 | diff -Nur Python-3.3.1.orig/Lib/test/test_compileall.py Python-3.3.1/Lib/test/test_compileall.py | |
2 | --- Python-3.3.1.orig/Lib/test/test_compileall.py 2013-04-06 08:41:41.000000000 +0100 | |
3 | +++ Python-3.3.1/Lib/test/test_compileall.py 2013-04-07 19:39:23.449157629 +0100 | |
4 | @@ -130,7 +130,7 @@ | |
5 | finally: | |
6 | sys.stdout = orig_stdout | |
7 | ||
8 | - | |
9 | +@unittest.skipUnless(support.is_resource_enabled("cmdline"), "python cmdline tests disabled") | |
10 | class CommandLineTests(unittest.TestCase): | |
11 | """Test compileall's CLI.""" | |
12 | ||
13 | diff -Nur Python-3.3.1.orig/Lib/test/test_warnings/__init__.py Python-3.3.1/Lib/test/test_warnings/__init__.py | |
14 | --- Python-3.3.1.orig/Lib/test/test_warnings/__init__.py 2013-04-06 08:41:46.000000000 +0100 | |
15 | +++ Python-3.3.1/Lib/test/test_warnings/__init__.py 2013-04-07 19:41:25.529164545 +0100 | |
16 | @@ -717,6 +717,7 @@ | |
17 | module = py_warnings | |
18 | ||
19 | ||
20 | +@unittest.skipUnless(support.is_resource_enabled("cmdline"), "python cmdline tests disabled") | |
21 | class EnvironmentVariableTests(BaseTest): | |
22 | ||
23 | def test_single_warning(self): | |
24 | @@ -762,14 +763,17 @@ | |
25 | "['ignore:DeprecaciónWarning']".encode('utf-8')) | |
26 | self.assertEqual(p.wait(), 0) | |
27 | ||
28 | +@unittest.skipUnless(support.is_resource_enabled("cmdline"), "python cmdline tests disabled") | |
29 | class CEnvironmentVariableTests(EnvironmentVariableTests, unittest.TestCase): | |
30 | module = c_warnings | |
31 | ||
32 | +@unittest.skipUnless(support.is_resource_enabled("cmdline"), "python cmdline tests disabled") | |
33 | class PyEnvironmentVariableTests(EnvironmentVariableTests, unittest.TestCase): | |
34 | module = py_warnings | |
35 | ||
36 | ||
37 | class BootstrapTest(unittest.TestCase): | |
38 | + @unittest.skipUnless(support.is_resource_enabled("cmdline"), "python cmdline tests disabled") | |
39 | def test_issue_8766(self): | |
40 | # "import encodings" emits a warning whereas the warnings is not loaded | |
41 | # or not completely loaded (warnings imports indirectly encodings by |