1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
Description: Fix for SyntaxWarning
Fixes SyntaxWarning for invalid escape sequences in
test.py and test2.py by converting multi-line strings
to raw strings.
Forwarded: not-needed
Author: Yogeswaran Umasankar <yogu@debian.org>
Last-Update: 2024-11-10
--- a/art/tests/test.py
+++ b/art/tests/test.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-'''
+r'''
>>> import os
>>> import random
>>> import sys
--- a/art/tests/test2.py
+++ b/art/tests/test2.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-'''
+r'''
>>> import os
>>> import random
>>> from art import *
|