def test_has_open_quotes4(): for s in ['""', '""" """', '"hi" "ipython"']: nt.assert_false(completer.has_open_quotes(s))
def test_has_open_quotes2(): for s in ['"', '"""', '"hi" "']: nt.assert_equal(completer.has_open_quotes(s), '"')
def test_has_open_quotes3(): for s in ["''", "''' '''", "'hi' 'ipython'"]: nt.assert_false(completer.has_open_quotes(s))
def test_has_open_quotes1(): for s in ["'", "'''", "'hi' '"]: nt.assert_equal(completer.has_open_quotes(s), "'")
def test_has_open_quotes4(self): for s in ['""', '""" """', '"hi" "ipython"']: self.assertFalse(completer.has_open_quotes(s))
def test_has_open_quotes3(self): for s in ["''", "''' '''", "'hi' 'ipython'"]: self.assertFalse(completer.has_open_quotes(s))
def test_has_open_quotes2(self): for s in ['"', '"""', '"hi" "']: self.assertEqual(completer.has_open_quotes(s), '"')
def test_has_open_quotes1(self): for s in ["'", "'''", "'hi' '"]: self.assertEqual(completer.has_open_quotes(s), "'")