@@ -28,7 +28,8 @@ def test_abstraction_1(self):
28
28
29
29
def test_abstraction_2 (self ):
30
30
out = detect_pattern .make_abstraction (
31
- "A,\r A,A,A\r " , SimpleDialect (delimiter = "," , quotechar = "" , escapechar = "" )
31
+ "A,\r A,A,A\r " ,
32
+ SimpleDialect (delimiter = "," , quotechar = "" , escapechar = "" ),
32
33
)
33
34
exp = "CDCRCDCDC"
34
35
self .assertEqual (exp , out )
@@ -73,7 +74,8 @@ def test_abstraction_7(self):
73
74
74
75
def test_abstraction_8 (self ):
75
76
out = detect_pattern .make_abstraction (
76
- ',"",,\r \n ' , SimpleDialect (delimiter = "," , quotechar = '"' , escapechar = "" )
77
+ ',"",,\r \n ' ,
78
+ SimpleDialect (delimiter = "," , quotechar = '"' , escapechar = "" ),
77
79
)
78
80
exp = "CDCDCDC"
79
81
self .assertEqual (exp , out )
@@ -84,42 +86,48 @@ def test_abstraction_8(self):
84
86
85
87
def test_abstraction_9 (self ):
86
88
out = detect_pattern .make_abstraction (
87
- "A,B|,C" , SimpleDialect (delimiter = "," , quotechar = "" , escapechar = "|" )
89
+ "A,B|,C" ,
90
+ SimpleDialect (delimiter = "," , quotechar = "" , escapechar = "|" ),
88
91
)
89
92
exp = "CDC"
90
93
self .assertEqual (exp , out )
91
94
92
95
def test_abstraction_10 (self ):
93
96
out = detect_pattern .make_abstraction (
94
- 'A,"B,C|"D"' , SimpleDialect (delimiter = "," , quotechar = '"' , escapechar = "|" )
97
+ 'A,"B,C|"D"' ,
98
+ SimpleDialect (delimiter = "," , quotechar = '"' , escapechar = "|" ),
95
99
)
96
100
exp = "CDC"
97
101
self .assertEqual (exp , out )
98
102
99
103
def test_abstraction_11 (self ):
100
104
out = detect_pattern .make_abstraction (
101
- "a,|b,c" , SimpleDialect (delimiter = "," , quotechar = "" , escapechar = "|" )
105
+ "a,|b,c" ,
106
+ SimpleDialect (delimiter = "," , quotechar = "" , escapechar = "|" ),
102
107
)
103
108
exp = "CDCDC"
104
109
self .assertEqual (exp , out )
105
110
106
111
def test_abstraction_12 (self ):
107
112
out = detect_pattern .make_abstraction (
108
- "a,b|,c" , SimpleDialect (delimiter = "," , quotechar = "" , escapechar = "|" )
113
+ "a,b|,c" ,
114
+ SimpleDialect (delimiter = "," , quotechar = "" , escapechar = "|" ),
109
115
)
110
116
exp = "CDC"
111
117
self .assertEqual (exp , out )
112
118
113
119
def test_abstraction_13 (self ):
114
120
out = detect_pattern .make_abstraction (
115
- 'a,"b,c|""' , SimpleDialect (delimiter = "," , quotechar = '"' , escapechar = "|" )
121
+ 'a,"b,c|""' ,
122
+ SimpleDialect (delimiter = "," , quotechar = '"' , escapechar = "|" ),
116
123
)
117
124
exp = "CDC"
118
125
self .assertEqual (exp , out )
119
126
120
127
def test_abstraction_14 (self ):
121
128
out = detect_pattern .make_abstraction (
122
- "a,b||c" , SimpleDialect (delimiter = "," , quotechar = "" , escapechar = "|" )
129
+ "a,b||c" ,
130
+ SimpleDialect (delimiter = "," , quotechar = "" , escapechar = "|" ),
123
131
)
124
132
exp = "CDC"
125
133
self .assertEqual (exp , out )
0 commit comments