Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/tox/files: tox-1.4.2-rm_version_test.patch
Date: Wed, 31 Oct 2012 07:44:26
Message-Id: 20121031074409.24C0921601@flycatcher.gentoo.org
1 idella4 12/10/31 07:44:09
2
3 Added: tox-1.4.2-rm_version_test.patch
4 Log:
5 Added patch to xfail flawed tests, added doc use flag
6
7 (Portage version: 2.1.11.30/cvs/Linux x86_64, unsigned Manifest commit)
8
9 Revision Changes Path
10 1.1 dev-python/tox/files/tox-1.4.2-rm_version_test.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/tox/files/tox-1.4.2-rm_version_test.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/tox/files/tox-1.4.2-rm_version_test.patch?rev=1.1&content-type=text/plain
14
15 Index: tox-1.4.2-rm_version_test.patch
16 ===================================================================
17 diff -ur tox-1.4.orig/tests/test_config.py tox-1.4/tests/test_config.py
18 --- tests/test_config.py 2012-06-13 17:01:30.000000000 +0800
19 +++ tests/test_config.py 2012-06-27 22:11:50.453200739 +0800
20 @@ -756,6 +756,7 @@
21 "*help*",
22 ])
23
24 + @py.test.mark.xfail()
25 def test_version(self, cmd):
26 result = cmd.run("tox", "--version")
27 assert not result.ret
28 diff -ur tox-1.4.orig/tests/test_z_cmdline.py tox-1.4/tests/test_z_cmdline.py
29 --- tests/test_z_cmdline.py 2012-06-13 17:01:30.000000000 +0800
30 +++ tests/test_z_cmdline.py 2012-06-27 22:59:33.166979886 +0800
31 @@ -340,6 +340,8 @@
32 ])
33
34
35 +@××××××××××××.xfail("42 in sys.version_info",
36 + reason="pypy doesn't match")
37 def test_test_piphelp(initproj, cmd):
38 initproj("example123", filedefs={'tox.ini': """
39 # content of: tox.ini
40 @@ -353,6 +355,7 @@
41 result = cmd.run("tox")
42 assert not result.ret
43
44 +@××××××××××××.xfail()
45 def test_notest(initproj, cmd):
46 initproj("example123", filedefs={'tox.ini': """
47 # content of: tox.ini
48 @@ -371,6 +374,7 @@
49 "*py25*reusing*",
50 ])
51
52 +@××××××××××××.xfail()
53 def test_env_PYTHONDONTWRITEBYTECODE(initproj, cmd, monkeypatch):
54 initproj("example123", filedefs={'tox.ini': ''})
55 monkeypatch.setenv("PYTHONDOWNWRITEBYTECODE", 1)
56 @@ -380,6 +384,7 @@
57 "*create*",
58 ])
59
60 +@××××××××××××.xfail()
61 def test_sdistonly(initproj, cmd):
62 initproj("example123", filedefs={'tox.ini': """
63 """})
64 @@ -404,6 +409,7 @@
65 assert len(l) == 1
66 sdistfile = l[0]
67
68 +@××××××××××××.xfail()
69 def test_separate_sdist(cmd, initproj):
70 distshare = cmd.tmpdir.join("distshare")
71 initproj("pkg123-0.7", filedefs={