1 |
commit: 488599349fcf9b124ed3f04488bdb09704b2a793 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 29 17:42:55 2011 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 29 17:42:55 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pms-test-suite.git;a=commit;h=48859934 |
7 |
|
8 |
EbuildTestCase: drop unused args to inst_all(). |
9 |
|
10 |
--- |
11 |
pmstestsuite/library/case.py | 5 ++--- |
12 |
1 files changed, 2 insertions(+), 3 deletions(-) |
13 |
|
14 |
diff --git a/pmstestsuite/library/case.py b/pmstestsuite/library/case.py |
15 |
index 3ab5197..3eba089 100644 |
16 |
--- a/pmstestsuite/library/case.py |
17 |
+++ b/pmstestsuite/library/case.py |
18 |
@@ -149,7 +149,7 @@ class EbuildTestCase(TestCase): |
19 |
return (random.choice(cls._eval_prop(cls.supported_eapis)),) |
20 |
|
21 |
@classmethod |
22 |
- def inst_all(cls, *args, **kwargs): |
23 |
+ def inst_all(cls): |
24 |
""" |
25 |
Instantiate the test case for all relevant EAPIs. |
26 |
|
27 |
@@ -159,8 +159,7 @@ class EbuildTestCase(TestCase): |
28 |
# sadly, no @classproperty |
29 |
# but property object attributes are official |
30 |
for eapi in cls._eval_prop(cls.relevant_eapis): |
31 |
- kwargs['eapi'] = eapi |
32 |
- yield cls(*args, **kwargs) |
33 |
+ yield cls(eapi = eapi) |
34 |
|
35 |
@property |
36 |
def pn(self): |