提交 4166ceda authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Add explanatory comment, remove commented-out code

上级 829e79f1
...@@ -240,7 +240,11 @@ class test_logical(unittest.TestCase): ...@@ -240,7 +240,11 @@ class test_logical(unittest.TestCase):
self.assertTrue(fn(a,b) == ~a, (a,)) self.assertTrue(fn(a,b) == ~a, (a,))
#class test_upgrade_to_float(unittest.TestCase): # This class does not inherit from unittest.TestCase, because it would
# interfere with the "yield" mechanism that automatically generates test, see
# http://stackoverflow.com/questions/6689537/nose-test-generators-inside-class
# Therefore, it needs to be named "test_..." or "Test_...", so nose can pick
# it up by name, otherwise the tests would not be executed.
class test_upgrade_to_float(object): class test_upgrade_to_float(object):
# Test for Ops whose output has to be floating point, even when all # Test for Ops whose output has to be floating point, even when all
# inputs are ints. # inputs are ints.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论