File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6459,7 +6459,7 @@ def test_issue_3284(self):
6459
6459
problem .subset_A .add (4 )
6460
6460
# set subset_B
6461
6461
problem .subset_B .add ((3 , 4 ))
6462
- with self .assertRaisesRegex (ValueError , ".*Cannot add value \(7, 8\)" ):
6462
+ with self .assertRaisesRegex (ValueError , r ".*Cannot add value \(7, 8\)" ):
6463
6463
problem .subset_B .add ((7 , 8 ))
6464
6464
# set subset_C
6465
6465
problem .subset_C [2 ].add (7 )
@@ -6475,7 +6475,7 @@ def test_issue_3284(self):
6475
6475
problem .E [1 ].add (4 )
6476
6476
# set F
6477
6477
problem .F [(1 , 2 , 3 )].add ((3 , 4 ))
6478
- with self .assertRaisesRegex (ValueError , ".*Cannot add value \(4, 3\)" ):
6478
+ with self .assertRaisesRegex (ValueError , r ".*Cannot add value \(4, 3\)" ):
6479
6479
problem .F [(4 , 5 , 6 )].add ((4 , 3 ))
6480
6480
# check them
6481
6481
self .assertEqual (list (problem .A ), [1 , 2 , 3 ])
You can’t perform that action at this time.
0 commit comments