def test_mixed_sub(self): inp = """At t>0, the drop goes as $1/r^2$. <br> This shows""" out = """At t>0, the drop goes as 1/r^2. This shows""" self.assertEquals(dalq.deref_markup(inp), out);
def test_mixed_sub(self): inp = """At t>0, the drop goes as $1/r^2$. <br> This shows""" out = """At t>0, the drop goes as 1/r^2. This shows""" self.assertEquals(dalq.deref_markup(inp), out)
def test_simple_sub(self): for orig, trx in self.subtests: self.assertEquals(dalq.deref_markup(orig), trx)