Skip to content

Commit

Permalink
fix python tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aguinet committed Sep 9, 2023
1 parent 5f3f5d6 commit fd0559f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion bindings/python/tests/test_buffers.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ def test_buffers(self):
CU = self.FFI.compile('''
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <ctype.h>
void print(const char* msg) {
puts(msg);
Expand All @@ -33,7 +35,7 @@ def test_buffers(self):
printf("%02X ", buf[i]);
}
printf("\\n");
}
}
void bytesupper(uint8_t* S) {
const size_t Len = strlen(S);
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/tests/test_cast.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def test_cast(self):

# Array/pointer casts
CU = FFI.compile('''
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
typedef struct {
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/tests/test_str.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def test_str(self):
J=self.FFI

CU = J.compile('''
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
bool check_str0(const char* msg) {
Expand Down

0 comments on commit fd0559f

Please sign in to comment.