Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 24 lines (15 sloc) 453 Bytes
import peckcheck
from peckcheck import a_list, an_int
L = a_list(an_int)
class TestAppend(peckcheck.TestCase):
def testReverse(self, x=L, y=L):
z = x + y
z.reverse()
y.reverse()
x.reverse()
assert z == x + y # deliberately failing test
class Sheesh(peckcheck.TestCase):
def testArithmetic(self):
assert 2+3 == 5
if __name__ == "__main__":
peckcheck.main()