Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/s/k/skdb-HEAD/tests/test_units.py   skdb(Download)
    def test_incompatibilities(self):
        self.assertRaises(skdb.UnitError, skdb.Range("1m", "1kg"))
        self.assertRaises(skdb.UnitError, skdb.Range("m", "kg"))
        self.assertRaises(skdb.UnitError, skdb.Range("kg", "m"))
        skdb.Range("1 mg", "g")