Skip to content

Commit a381671

Browse files
committed
Added ctypes test to test app
1 parent 9bf0612 commit a381671

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/testapp/main.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@
7575
markup: True
7676
text: 'dpi: {}\\ndensity: {}\\nfontscale: {}'.format(Metrics.dpi, Metrics.density, Metrics.fontscale)
7777
halign: 'center'
78+
FixedSizeButton:
79+
text: 'test ctypes'
80+
on_press: app.test_ctypes()
7881
Widget:
7982
size_hint_y: None
8083
height: 1000
@@ -131,5 +134,9 @@ def test_pyjnius(self, *args):
131134

132135
vibrator.vibrate(1000)
133136

137+
def test_ctypes(self, *args):
138+
import ctypes
139+
140+
134141

135142
TestApp().run()

0 commit comments

Comments
 (0)