python-subunit
Advanced tools
+2
-0
@@ -14,2 +14,4 @@ --------------------- | ||
| * Fix "subunit-filter --fixup-expected-failures" | ||
| on Python 3. (Jelmer Vernooij) | ||
@@ -16,0 +18,0 @@ 1.4.1 |
+1
-1
| Metadata-Version: 2.1 | ||
| Name: python-subunit | ||
| Version: 1.4.1 | ||
| Version: 1.4.2 | ||
| Summary: Python implementation of subunit test streaming protocol | ||
@@ -5,0 +5,0 @@ Home-page: http://launchpad.net/subunit |
| Metadata-Version: 2.1 | ||
| Name: python-subunit | ||
| Version: 1.4.1 | ||
| Version: 1.4.2 | ||
| Summary: Python implementation of subunit test streaming protocol | ||
@@ -5,0 +5,0 @@ Home-page: http://launchpad.net/subunit |
@@ -9,3 +9,3 @@ extras | ||
| fixtures | ||
| testscenarios | ||
| hypothesis | ||
| testscenarios |
@@ -154,3 +154,3 @@ # | ||
| __version__ = (1, 4, 1, 'final', 0) | ||
| __version__ = (1, 4, 2, 'final', 0) | ||
@@ -1256,7 +1256,5 @@ PROGRESS_SET = 0 | ||
| """ | ||
| f = open(path, 'rb') | ||
| try: | ||
| return [l.rstrip("\n") for l in f.readlines()] | ||
| finally: | ||
| f.close() | ||
| with open(path, 'r') as f: | ||
| return [line.split('#')[0].rstrip() for line in f.readlines() | ||
| if line.split('#')[0]] | ||
@@ -1263,0 +1261,0 @@ |
@@ -24,3 +24,14 @@ # | ||
| from subunit import read_test_list | ||
| class TestReadTestList(TestCase): | ||
| def test_read_list(self): | ||
| with NamedTemporaryFile() as f: | ||
| f.write(b'foo\nbar\n# comment\nother # comment\n') | ||
| f.flush() | ||
| self.assertEqual(read_test_list(f.name), ['foo', 'bar', 'other']) | ||
| class TestFindStream(TestCase): | ||
@@ -27,0 +38,0 @@ |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
468056
0.09%8139
0.06%