File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ def test_keep_last_zero_depth_constructor(self):
133133 qos = QoSProfile (history = QoSHistoryPolicy .KEEP_LAST , depth = 0 )
134134 assert len (caught_warnings ) == 1
135135 assert issubclass (caught_warnings [0 ].category , UserWarning )
136- assert ( "A zero depth with KEEP_LAST doesn't make sense" in str (caught_warnings [0 ]) )
136+ assert "A zero depth with KEEP_LAST doesn't make sense" in str (caught_warnings [0 ])
137137 assert qos .history == QoSHistoryPolicy .KEEP_LAST
138138
139139 def test_keep_last_zero_depth_set (self ):
@@ -145,7 +145,7 @@ def test_keep_last_zero_depth_set(self):
145145 qos .depth = 0
146146 assert len (caught_warnings ) == 1
147147 assert issubclass (caught_warnings [0 ].category , UserWarning )
148- assert ( "A zero depth with KEEP_LAST doesn't make sense" in str (caught_warnings [0 ]) )
148+ assert "A zero depth with KEEP_LAST doesn't make sense" in str (caught_warnings [0 ])
149149
150150
151151class TestCheckQosCompatibility (unittest .TestCase ):
You can’t perform that action at this time.
0 commit comments