Skip to content

Commit c9c91ba

Browse files
committed
3.8+ tag in tests
1 parent 87ec73e commit c9c91ba

5 files changed

Lines changed: 9 additions & 1 deletion

File tree

scapy/tools/UTscapy.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,6 +1116,9 @@ def main():
11161116
if VERB > 2:
11171117
print(" " + arrow + " libpcap mode")
11181118

1119+
if sys.version_info < (3, 8):
1120+
KW_KO.append("needs_py38plus")
1121+
11191122
KW_KO.append("disabled")
11201123

11211124
if ANNOTATIONS_MODE:

test/scapy/layers/msrpce/mgmt.uts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
% C706 MGMT tests
2+
~ needs_py38plus
23

34
+ C706 MGMT test vectors
45

test/scapy/layers/msrpce/mslsad.uts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
% MS-LSAD tests
2+
~ needs_py38plus
23

34
+ [MS-LSAD] build and dissection tests
45

test/scapy/layers/msrpce/msscmr.uts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
% MS-SCMR tests
2+
~ needs_py38plus
23

34
+ [MS-SCMR] build and dissection tests
45

test/scapy/layers/msrpce/mswmi.uts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
% MS-WMI Tests
2+
~ needs_py38plus
23

34
+ [MS-WMI] build and dissection tests
5+
46
* To work scapy-rpc extension must be installed
57

68
= [MS-WMI] - Import [MS-WMI]
@@ -46,4 +48,4 @@ pkt=ExecQuery_Response(
4648
)
4749

4850
status = pkt.valueof("status")
49-
assert status == 0x0
51+
assert status == 0x0

0 commit comments

Comments
 (0)