summaryrefslogtreecommitdiff
path: root/selftest/filter-subunit
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-04-06 03:55:10 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-04-06 04:01:54 +0200
commite39ed552b69e95217864855332e6c883466a4548 (patch)
tree30d2ffa1aa79fec376d9a349a99ac5edf6f63980 /selftest/filter-subunit
parentc75184b8a14ee686dacbf2dcf01eeade0327b648 (diff)
downloadsamba-e39ed552b69e95217864855332e6c883466a4548.tar.gz
samba-e39ed552b69e95217864855332e6c883466a4548.tar.bz2
samba-e39ed552b69e95217864855332e6c883466a4548.zip
selftest: Remove python2.4-isms
Diffstat (limited to 'selftest/filter-subunit')
-rwxr-xr-xselftest/filter-subunit4
1 files changed, 2 insertions, 2 deletions
diff --git a/selftest/filter-subunit b/selftest/filter-subunit
index 605a89840a..923d5cf3a3 100755
--- a/selftest/filter-subunit
+++ b/selftest/filter-subunit
@@ -26,9 +26,9 @@ parser.add_option("--prefix", type="string",
opts, args = parser.parse_args()
if opts.expected_failures:
- expected_failures = list(subunithelper.read_test_regexes(opts.expected_failures))
+ expected_failures = subunithelper.read_test_regexes(opts.expected_failures)
else:
- expected_failures = []
+ expected_failures = {}
statistics = {
'TESTS_UNEXPECTED_OK': 0,