Commits

Stefan Scherfke committed f44ad5d

Improved test coverage.

Comments (0)

Files changed (1)

collectors/test/test_core.py

     def test_init(self):
         # First some fails
         assert_raises(AttributeError, core.Collector)
+        assert_raises(TypeError, core.Collector, 'a', lambda: 0)
         assert_raises(ValueError, core.Collector,
                 ('a', lambda: 0), ('a', lambda: 0))