Skip to content

Commit 45eee51

Browse files
Apply ruff/pycodestyle rule E703
E703 Statement ends with an unnecessary semicolon
1 parent 416d4d5 commit 45eee51

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

testing/cffi1/test_recompiler.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2046,7 +2046,7 @@ def test_function_returns_partial_struct():
20462046

20472047
def test_function_returns_float_complex():
20482048
ffi = FFI()
2049-
ffi.cdef("float _Complex f1(float a, float b);");
2049+
ffi.cdef("float _Complex f1(float a, float b);")
20502050
if sys.platform == 'win32':
20512051
lib = verify(ffi, "test_function_returns_float_complex", """
20522052
#include <complex.h>
@@ -2064,7 +2064,7 @@ def test_function_returns_float_complex():
20642064

20652065
def test_function_returns_double_complex():
20662066
ffi = FFI()
2067-
ffi.cdef("double _Complex f1(double a, double b);");
2067+
ffi.cdef("double _Complex f1(double a, double b);")
20682068
if sys.platform == 'win32':
20692069
lib = verify(ffi, "test_function_returns_double_complex", """
20702070
#include <complex.h>
@@ -2084,7 +2084,7 @@ def test_cdef_using_windows_complex():
20842084
if sys.platform != 'win32':
20852085
pytest.skip("only for MSVC")
20862086
ffi = FFI()
2087-
ffi.cdef("_Fcomplex f1(float a, float b); _Dcomplex f2(double a, double b);");
2087+
ffi.cdef("_Fcomplex f1(float a, float b); _Dcomplex f2(double a, double b);")
20882088
lib = verify(ffi, "test_cdef_using_windows_complex", """
20892089
#include <complex.h>
20902090
static _Fcomplex f1(float a, float b) { return _FCbuild(a, 2.0f*b); }
@@ -2101,7 +2101,7 @@ def test_cdef_using_windows_complex():
21012101

21022102
def test_function_argument_float_complex():
21032103
ffi = FFI()
2104-
ffi.cdef("float f1(float _Complex x);");
2104+
ffi.cdef("float f1(float _Complex x);")
21052105
if sys.platform == 'win32':
21062106
lib = verify(ffi, "test_function_argument_float_complex", """
21072107
#include <complex.h>
@@ -2118,7 +2118,7 @@ def test_function_argument_float_complex():
21182118

21192119
def test_function_argument_double_complex():
21202120
ffi = FFI()
2121-
ffi.cdef("double f1(double _Complex);");
2121+
ffi.cdef("double f1(double _Complex);")
21222122
if sys.platform == 'win32':
21232123
lib = verify(ffi, "test_function_argument_double_complex", """
21242124
#include <complex.h>

0 commit comments

Comments
 (0)