Opened at 2020-11-20T21:01:49Z
Closed at 2020-11-24T18:35:27Z
#3517 closed defect (fixed)
integration tests trigger configparser bytes/unicode warning
Reported by: | exarkun | Owned by: | GitHub <noreply@…> |
---|---|---|---|
Priority: | normal | Milestone: | undecided |
Component: | unknown | Version: | n/a |
Keywords: | review | Cc: | |
Launchpad Bug: |
Description
The warning is:
DeprecationWarning: You passed a bytestring. Implicitly decoding as UTF-8 string. This will not work on Python 3. Please switch to using Unicode strings across the board.
It doesn't correctly point at the offending user but if you hack it to use stacklevel=3 instead of stacklevel=2 then you discover this is via src/allmydata/util/configutil.py:58 and stacklevel=4 points at integration/util.py:260:
set_config(config, 'node', 'log_gatherer.furl', flog_gatherer)
Change History (2)
comment:1 Changed at 2020-11-20T21:05:36Z by exarkun
- Keywords review added
comment:2 Changed at 2020-11-24T18:35:27Z by GitHub <noreply@…>
- Owner set to GitHub <noreply@…>
- Resolution set to fixed
- Status changed from new to closed
In fd463229/trunk:
Note: See
TracTickets for help on using
tickets.
https://github.com/tahoe-lafs/tahoe-lafs/pull/906