You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/scapy/development.rst
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,7 +120,7 @@ The generic format for a test campaign is shown in the following table::
120
120
* Comments for unit test 1
121
121
# Python statements follow
122
122
a = 1
123
-
print a
123
+
print(a)
124
124
a == 1
125
125
126
126
@@ -196,7 +196,7 @@ Table 5 shows a simple test campaign with multiple tests set definitions. Additi
196
196
= Unit Test 1
197
197
~ test_set_1 simple
198
198
a = 1
199
-
print a
199
+
print(a)
200
200
201
201
= Unit test 2
202
202
~ test_set_1 simple
@@ -234,7 +234,7 @@ Table 5 shows a simple test campaign with multiple tests set definitions. Additi
234
234
235
235
= Unit Test 6
236
236
~ test_set_2 hardest
237
-
print e
237
+
print(e)
238
238
e == 1296
239
239
240
240
To see an example that is targeted to Scapy, go to http://www.secdev.org/projects/UTscapy. Cut and paste the example at the bottom of the page to the file ``demo_campaign.txt`` and run UTScapy against it::
0 commit comments