]>
Commit | Line | Data |
---|---|---|
fd3fc14e | 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 | |
cd7dc766 JK |
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 | ||
ac674191 AM |
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 | |
fd3fc14e | 16 | @@ -717,6 +717,7 @@ |
cd7dc766 JK |
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): | |
fd3fc14e | 24 | @@ -762,14 +763,17 @@ |
cd7dc766 JK |
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") | |
fd3fc14e | 29 | class CEnvironmentVariableTests(EnvironmentVariableTests, unittest.TestCase): |
cd7dc766 JK |
30 | module = c_warnings |
31 | ||
32 | +@unittest.skipUnless(support.is_resource_enabled("cmdline"), "python cmdline tests disabled") | |
fd3fc14e | 33 | class PyEnvironmentVariableTests(EnvironmentVariableTests, unittest.TestCase): |
cd7dc766 JK |
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 |