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