diff options
| author | Robert Collins <robertc@robertcollins.net> | 2012-05-08 10:53:53 +1200 |
|---|---|---|
| committer | Robert Collins <robertc@robertcollins.net> | 2012-05-08 10:53:53 +1200 |
| commit | 5a05f5a3583d952dfdd3d3cb71b2f8b7bec38423 (patch) | |
| tree | 4bad3b4a88d12d90af01b3b5c796bdc95d1363a7 /python/subunit/tests | |
| parent | dc107f2a7e4027744daa20da644d2a36b60b9260 (diff) | |
| download | subunit-5a05f5a3583d952dfdd3d3cb71b2f8b7bec38423.tar.gz | |
* Python2.6 support was broken by the fixup feature.
(Arfrever Frehtes Taifersar Arahesis, #987490)
Diffstat (limited to 'python/subunit/tests')
| -rw-r--r-- | python/subunit/tests/test_subunit_filter.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/python/subunit/tests/test_subunit_filter.py b/python/subunit/tests/test_subunit_filter.py index 3d63ff5..33b9248 100644 --- a/python/subunit/tests/test_subunit_filter.py +++ b/python/subunit/tests/test_subunit_filter.py @@ -231,7 +231,7 @@ xfail todo self.run_tests(result_filter, subunit_stream) foo = subunit.RemotedTestCase('foo') self.maxDiff = None - self.assertSequenceEqual( + self.assertEqual( [('time', date_a), ('time', date_b), ('startTest', foo), @@ -259,7 +259,7 @@ xfail todo result_filter.stopTestRun() foo = subunit.RemotedTestCase('foo') self.maxDiff = None - self.assertSequenceEqual( + self.assertEqual( [('startTestRun',), ('time', date_a), ('time', date_c), @@ -279,6 +279,10 @@ xfail todo ('addSkip', foo, {}), ('stopTest', foo), ], result._events) + if sys.version_info < (2, 7): + # These tests require Python >=2.7. + del test_fixup_expected_failures, test_fixup_expected_errors, test_fixup_unexpected_success + class TestFilterCommand(TestCase): |
