Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
preview_url_resource: Ellipsis must be in unicode string #1664
Conversation
matrixbot
commented
Dec 1, 2016
|
Can one of the admins verify this patch? |
matrixbot
commented
Dec 1, 2016
|
Can one of the admins verify this patch? |
matrixbot
commented
Dec 1, 2016
|
Can one of the admins verify this patch? |
matrixbot
commented
Dec 1, 2016
|
Can one of the admins verify this patch? |
matrixbot
commented
Dec 1, 2016
|
Can one of the admins verify this patch? |
kyrias
closed this
Dec 1, 2016
kyrias
deleted the
kyrias:preview-url-resource-encoding
branch
Dec 1, 2016
kyrias
restored the
kyrias:preview-url-resource-encoding
branch
Dec 1, 2016
|
Err, whops, deleted the wrong branch .-. |
kyrias
reopened this
Dec 1, 2016
matrixbot
commented
Dec 1, 2016
|
Can one of the admins verify this patch? |
matrixbot
commented
Dec 1, 2016
|
Can one of the admins verify this patch? |
matrixbot
commented
Dec 1, 2016
|
Can one of the admins verify this patch? |
matrixbot
commented
Dec 1, 2016
|
Can one of the admins verify this patch? |
matrixbot
commented
Dec 1, 2016
|
Can one of the admins verify this patch? |
|
(Also, why is it doing it five times?) |
|
lgtm - thanks :) |
ara4n
merged commit 7a00178
into
matrix-org:develop
Dec 3, 2016
kyrias
deleted the
kyrias:preview-url-resource-encoding
branch
Dec 3, 2016
|
This has broken the unit tests. Please can we not merge PRs without running the tests. |
|
Huh, which test? Because without it, this case is broken due to py2 handling of Unicode. |
|
And I just tried running the tests from master, and they succeed without any failures? Can't find any failures related to this or the develop branch after this in develop either. |
|
s/from master/from develop/ |
|
http://matrix.org/jenkins/job/SynapseUnittestsCommit/2165/testReport/ The problems are probably in the unit tests rather than your fix, but nevertheless they need fixing. I can do so if you don't beat me to it. My snarky comment was aimed at @ara4n ... |
|
Ah, seems they're also using non unicode strings. Is there a simple way to run those tests from the commandline btw, since it didn't fail from |
|
Or if you already have a virtualenv, |
|
(maybe tox doesn't work; it's a bit of a black box to me tbh) |
|
Yeah, it seems |
|
|
|
Oh, managed to get them run by setting |
kyrias commentedDec 1, 2016
Been getting
errors due to the ellipsis not being marked as a unicode string. Damn you py2.