Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cssutils
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Python Team
packages
cssutils
Commits
35be10cb
Commit
35be10cb
authored
3 years ago
by
Sandro Tosi
Browse files
Options
Downloads
Patches
Plain Diff
import upstream PR to fix tests under python 3.10; Closes: #1009469
parent
b184a1b0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
debian/changelog
+5
-1
5 additions, 1 deletion
debian/changelog
debian/patches/PR17.patch
+24
-0
24 additions, 0 deletions
debian/patches/PR17.patch
debian/patches/series
+1
-0
1 addition, 0 deletions
debian/patches/series
with
30 additions
and
1 deletion
debian/changelog
+
5
−
1
View file @
35be10cb
...
...
@@ -12,7 +12,11 @@ cssutils (1.0.2-4) UNRELEASED; urgency=medium
* Bump debhelper from old 12 to 13.
* Update standards version to 4.5.1, no changes needed.
-- Ondřej Nový <onovy@debian.org> Thu, 24 Sep 2020 09:00:29 +0200
[ Sandro Tosi ]
* debian/patches/PR17.patch
- import upstream PR to fix tests under python 3.10; Closes: #1009469
-- Sandro Tosi <morph@debian.org> Sun, 24 Apr 2022 00:31:05 -0400
cssutils (1.0.2-3) unstable; urgency=medium
...
...
This diff is collapsed.
Click to expand it.
debian/patches/PR17.patch
0 → 100644
+
24
−
0
View file @
35be10cb
From 355b1795dde77bd4b49d8df35377230fdb503802 Mon Sep 17 00:00:00 2001
From: Arthur Zamarin <arthurzam@gmail.com>
Date: Fri, 22 Oct 2021 17:48:28 +0300
Subject: [PATCH] Fix expected error message for python 3.10
python 3.10 adds some words to it's errors, so catch if our expected
are contained in the actual output
Signed-off-by: Arthur Zamarin <arthurzam@gmail.com>
---
cssutils/tests/basetest.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/src/cssutils/tests/basetest.py
+++ b/src/cssutils/tests/basetest.py
@@ -134,7 +134,7 @@
class BaseTestCase(unittest.TestCase):
if not msg:
# No message provided: any message is fine.
return
- elif excMsg == msg:
+ elif msg in excMsg:
# Message provided, and we got the right message: passes.
return
else:
This diff is collapsed.
Click to expand it.
debian/patches/series
+
1
−
0
View file @
35be10cb
0001-test-Adjust-to-current-python-chardet.patch
0002-Create-our-py2-and-py3-executables-to-use-with-updat.patch
PR17.patch
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment