[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3517: integration tests trigger configparser bytes/unicode warning
Tahoe-LAFS
trac at tahoe-lafs.org
Fri Nov 20 21:01:49 UTC 2020
#3517: integration tests trigger configparser bytes/unicode warning
---------------------+---------------------------
Reporter: exarkun | Owner:
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: unknown | Version: n/a
Keywords: | Launchpad Bug:
---------------------+---------------------------
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)
}}}
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3517>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list