Пример #1
0
 def test_should_sort_private_symbols_after_dunder_symbols(self):
     self.assertLess(server._pysymbol_key("__foo__"),
                     server._pysymbol_key("_bar"))
Пример #2
0
 def test_should_sort_private_symbols_after_dunder_symbols(self):
     self.assertLess(server._pysymbol_key("__foo__"),
                     server._pysymbol_key("_bar"))
Пример #3
0
 def keyLess(self, a, b):
     self.assertLess(b, a)
     self.assertLess(server._pysymbol_key(a), server._pysymbol_key(b))
Пример #4
0
 def keyLess(self, a, b):
     self.assertLess(b, a)
     self.assertLess(server._pysymbol_key(a),
                     server._pysymbol_key(b))