]>
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 | |
9b97d583 | 4 | @@ -233,6 +233,7 @@ class EncodingTest(unittest.TestCase): |
cd7dc766 JK |
5 | sys.stdout = orig_stdout |
6 | ||
9b97d583 | 7 | |
cd7dc766 | 8 | +@unittest.skipUnless(support.is_resource_enabled("cmdline"), "python cmdline tests disabled") |
9b97d583 | 9 | class CommandLineTestsBase: |
cd7dc766 JK |
10 | """Test compileall's CLI.""" |
11 | ||
ac674191 AM |
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 | |
fd3fc14e | 15 | @@ -717,6 +717,7 @@ |
cd7dc766 JK |
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): | |
fd3fc14e | 23 | @@ -762,14 +763,17 @@ |
cd7dc766 JK |
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") | |
fd3fc14e | 28 | class CEnvironmentVariableTests(EnvironmentVariableTests, unittest.TestCase): |
cd7dc766 JK |
29 | module = c_warnings |
30 | ||
31 | +@unittest.skipUnless(support.is_resource_enabled("cmdline"), "python cmdline tests disabled") | |
fd3fc14e | 32 | class PyEnvironmentVariableTests(EnvironmentVariableTests, unittest.TestCase): |
cd7dc766 JK |
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 |