PY-16553 Remove comma from one element tuple when converting it to another collection
[idea/community.git] / python / testSrc / com / jetbrains / python / intentions / PyConvertCollectionLiteralIntentionTest.java
index daa2206d2e4dd981357ccdc491363a419abf6d59..ba2211fe2b5898ebbdce92aa18d7c1ecdd3304f1 100644 (file)
@@ -128,4 +128,19 @@ public class PyConvertCollectionLiteralIntentionTest extends PyIntentionTestCase
   public void testConvertOneElementListWithCommaAfterCommentToTuple() {
     doIntentionTest(CONVERT_LIST_TO_TUPLE);
   }
+
+  // PY-16553
+  public void testConvertOneElementTupleToList() {
+    doIntentionTest(CONVERT_TUPLE_TO_LIST);
+  }
+
+  // PY-16553
+  public void testConvertOneElementTupleWithoutParenthesesToSet() {
+    doIntentionTest(CONVERT_TUPLE_TO_SET);
+  }
+
+  // PY-16553
+  public void testConvertOneElementTupleWithCommentToList() {
+    doIntentionTest(CONVERT_TUPLE_TO_LIST);
+  }
 }