From e061dad55e75ea5d5db20ceda28f557971dd9483 Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Fri, 4 Dec 2020 14:57:51 -0500 Subject: tests: py2 cleanup - remove subclassing of object Type: refactor Change-Id: I9096e3b473110350e1e8e5936e3c4c164f8969a7 Signed-off-by: Paul Vinciguerra --- src/plugins/nat/extras/nat_test_fast_path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/nat/extras/nat_test_fast_path.py') diff --git a/src/plugins/nat/extras/nat_test_fast_path.py b/src/plugins/nat/extras/nat_test_fast_path.py index 97f8525fdc6..e869d40872a 100644 --- a/src/plugins/nat/extras/nat_test_fast_path.py +++ b/src/plugins/nat/extras/nat_test_fast_path.py @@ -1,7 +1,7 @@ from trex_stl_lib.api import * -class STLS1(object): +class STLS1: def create_stream(self): # base_pkt = Ether()/IP(dst="2.2.0.1")/UDP(dport=12) -- cgit 1.2.3-korg