Skip to content

Commit 976aaf0

Browse files
Apply ruff/pycodestyle rule E703
E703 Statement ends with an unnecessary semicolon
1 parent 9ac314a commit 976aaf0

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
@@ -2047,7 +2047,7 @@ def test_function_returns_partial_struct():
20472047

20482048
def test_function_returns_float_complex():
20492049
ffi = FFI()
2050-
ffi.cdef("float _Complex f1(float a, float b);");
2050+
ffi.cdef("float _Complex f1(float a, float b);")
20512051
if sys.platform == 'win32':
20522052
lib = verify(ffi, "test_function_returns_float_complex", """
20532053
#include <complex.h>
@@ -2065,7 +2065,7 @@ def test_function_returns_float_complex():
20652065

20662066
def test_function_returns_double_complex():
20672067
ffi = FFI()
2068-
ffi.cdef("double _Complex f1(double a, double b);");
2068+
ffi.cdef("double _Complex f1(double a, double b);")
20692069
if sys.platform == 'win32':
20702070
lib = verify(ffi, "test_function_returns_double_complex", """
20712071
#include <complex.h>
@@ -2085,7 +2085,7 @@ def test_cdef_using_windows_complex():
20852085
if sys.platform != 'win32':
20862086
pytest.skip("only for MSVC")
20872087
ffi = FFI()
2088-
ffi.cdef("_Fcomplex f1(float a, float b); _Dcomplex f2(double a, double b);");
2088+
ffi.cdef("_Fcomplex f1(float a, float b); _Dcomplex f2(double a, double b);")
20892089
lib = verify(ffi, "test_cdef_using_windows_complex", """
20902090
#include <complex.h>
20912091
static _Fcomplex f1(float a, float b) { return _FCbuild(a, 2.0f*b); }
@@ -2102,7 +2102,7 @@ def test_cdef_using_windows_complex():
21022102

21032103
def test_function_argument_float_complex():
21042104
ffi = FFI()
2105-
ffi.cdef("float f1(float _Complex x);");
2105+
ffi.cdef("float f1(float _Complex x);")
21062106
if sys.platform == 'win32':
21072107
lib = verify(ffi, "test_function_argument_float_complex", """
21082108
#include <complex.h>
@@ -2119,7 +2119,7 @@ def test_function_argument_float_complex():
21192119

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

0 commit comments

Comments
 (0)