Example #1
0
 def test_repr(self):
     f = ~X.attr(1, 2, three='four')
     assert repr(f) == "X.attr | X(1, 2, three='four')"
Example #2
0
 def test_name(self):
     f = ~X.attr(1, 2, three='four')
     assert f.__name__ == "X.attr | X(1, 2, three='four')"
Example #3
0
 def test_repr(self):
     f = ~X.attr(1, 2, three='four')
     assert repr(f) == "X.attr | X(1, 2, three='four')"
Example #4
0
 def test_name(self):
     f = ~X.attr(1, 2, three="four")
     assert f.__name__ == "X.attr | X(1, 2, three='four')"