Ahhhhhh, thank you very much Rob.
Fixed now. Have a great day. T kl. 19:51:54 UTC+2 søndag 26. august 2012 skrev Rob Day følgende: > On Sun, 2012-08-26 at 10:36 -0700, Tigerstyle wrote: > > > self.assertEqual(statinfo.st_size, filesize) > > > > > > I'm still getting AssertionError and the error says: 1000000 !=b' > > > > > > > > > > filesize is the character 'b' repeated one million times (the contents > > of the file, in other words). statinfo.st_size is the number of bytes in > > the file, i.e. 1,000,000. So when your assertEqual code checks if those > > two values are equal, what do you think happens? -- http://mail.python.org/mailman/listinfo/python-list