HyukjinKwon commented on a change in pull request #34957:
URL: https://github.com/apache/spark/pull/34957#discussion_r774462575
##########
File path: python/pyspark/pandas/tests/test_dataframe.py
##########
@@ -247,6 +253,11 @@ def test_insert(self):
self.assertRaisesRegex(
ValueError, "cannot insert d, already exists", lambda:
psdf.insert(4, "d", 11)
)
+ self.assertRaisesRegex(
+ ValueError,
+ "cannot insert \('x', 'a', 'b'\), already exists",
Review comment:
```
./python/pyspark/pandas/tests/test_dataframe.py:258:28: W605 invalid escape
sequence '\('
"cannot insert \('x', 'a', 'b'\), already exists",
^
./python/pyspark/pandas/tests/test_dataframe.py:258:43: W605 invalid escape
sequence '\)'
"cannot insert \('x', 'a', 'b'\), already exists",
^
2 W605 invalid escape sequence '\('
2
1
```
can you fix this please?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]