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

Create issue
Issue #99 resolved
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/", line 7, in test_binaryfiles repo = self._load_fixture_and_fetch('binaryfiles.svndump', stupid=stupid) File "/home/luke/lib/hgsubversion/wc-main/tests/", line 110, in _load_fixture_and_fetch stupid=stupid) File "/home/luke/lib/hgsubversion/wc-main/tests/", 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/", line 603, in clone update=not opts.get('noupdate')) File "/home/luke/lib/hgsubversion/lib/python2.5/site-packages/mercurial/", line 215, in clone dest_repo.clone(src_repo, heads=revs, stream=stream) File "/home/luke/lib/hgsubversion/lib/python2.5/site-packages/mercurial/", line 2152, in clone return self.pull(remote, heads) File "/home/luke/lib/hgsubversion/wc-main/hgsubversion/", line 39, in wrapper return fn(self, args, *opts) File "/home/luke/lib/hgsubversion/wc-main/hgsubversion/", line 53, in pull return wrappers.pull(self, remote, heads, force) File "/home/luke/lib/hgsubversion/wc-main/hgsubversion/", line 266, in pull w = hgutil.termwidth() File "/home/luke/lib/hgsubversion/lib/python2.5/site-packages/mercurial/", line 2011, in termwidth fd = dev.fileno() AttributeError: 'cStringIO.StringO' object has no attribute 'fileno' }}}

Comments (4)

  1. Augie Fackler repo owner

    Luke, this is a worksforme, as I'm still using 2.5 on my MacBook at home. We should take another look and see what's going on.

  2. Log in to comment