Issue #99 resolved

Most tests fail on 2.5: cStringIO.StringIO object has no attribute fileno

Luke Opperman
created an issue

{{{ $ nosetests -x E ====================================================================== ERROR: test_binaryfiles (tests.test_binaryfiles.TestFetchBinaryFiles)


Traceback (most recent call last): File "/home/luke/lib/hgsubversion/wc-main/tests/test_binaryfiles.py", line 7, in test_binaryfiles repo = self._load_fixture_and_fetch('binaryfiles.svndump', stupid=stupid) File "/home/luke/lib/hgsubversion/wc-main/tests/test_util.py", line 110, in _load_fixture_and_fetch stupid=stupid) File "/home/luke/lib/hgsubversion/wc-main/tests/test_util.py", line 60, in load_fixture_and_fetch commands.clone(_ui, fileurl(repo_path), wc_path, noupdate=noupdate) File "/home/luke/lib/hgsubversion/lib/python2.5/site-packages/mercurial/commands.py", line 603, in clone update=not opts.get('noupdate')) File "/home/luke/lib/hgsubversion/lib/python2.5/site-packages/mercurial/hg.py", line 215, in clone dest_repo.clone(src_repo, heads=revs, stream=stream) File "/home/luke/lib/hgsubversion/lib/python2.5/site-packages/mercurial/localrepo.py", line 2152, in clone return self.pull(remote, heads) File "/home/luke/lib/hgsubversion/wc-main/hgsubversion/svnrepo.py", line 39, in wrapper return fn(self, args, *opts) File "/home/luke/lib/hgsubversion/wc-main/hgsubversion/svnrepo.py", line 53, in pull return wrappers.pull(self, remote, heads, force) File "/home/luke/lib/hgsubversion/wc-main/hgsubversion/wrappers.py", line 266, in pull w = hgutil.termwidth() File "/home/luke/lib/hgsubversion/lib/python2.5/site-packages/mercurial/util.py", line 2011, in termwidth fd = dev.fileno() AttributeError: 'cStringIO.StringO' object has no attribute 'fileno' }}}

Comments (4)

  1. Log in to comment