#3618 closed defect (fixed)

Enable -bb for all Python 3 ported tests

Reported by: itamarst Owned by: itamarst
Priority: normal Milestone: Support Python 3
Component: unknown Version: n/a
Keywords: Cc:
Launchpad Bug:

Description

The -bb flag for Python catches errors with string formatting on Python 3, specifically "%s" % (b"bytes",). We should enable this for all tests.

I've already done allmydata.test.web, and hopefully should be possible to do the rest of the tests in one PR.

Change History (1)

comment:1 Changed at 2021-03-05T15:18:48Z by GitHub <noreply@…>

  • Resolution set to fixed
  • Status changed from new to closed

In ff59170/trunk:

Merge pull request #988 from tahoe-lafs/3618.bb-tests-python-3

Cause str(b"") and bytes<->unicode comparison to throw exception when running tests on Python 3

Fixes ticket:3618

Note: See TracTickets for help on using tickets.