summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2022-11-17 10:54:30 +0200
committerMatti Picus <matti.picus@gmail.com>2022-11-17 10:54:30 +0200
commit2c50c0151cd9b4802269e53841c94d03fcc3283f (patch)
tree72b17b0691f7154e85f260555414555226ded765
parentea92abe896f3763205bd281a40824b89746bebb3 (diff)
downloadcffi-typos.tar.gz
fix typos in comments: py.py -> pypytypos
-rw-r--r--c/test_c.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/test_c.py b/c/test_c.py
index 5fd670b..79063dc 100644
--- a/c/test_c.py
+++ b/c/test_c.py
@@ -1529,7 +1529,7 @@ def test_callback_return_type():
def test_a_lot_of_callbacks():
BIGNUM = 10000
- if 'PY_DOT_PY' in globals(): BIGNUM = 100 # tests on py.py
+ if 'PY_DOT_PY' in globals(): BIGNUM = 100 # tests on pypy
#
BInt = new_primitive_type("int")
BFunc = new_function_type((BInt,), BInt, False)
@@ -3960,7 +3960,7 @@ def test_from_buffer_types():
#
p2 = from_buffer(BIntP, bytestring) # int *
assert p2 == p1 or 'PY_DOT_PY' in globals()
- # note: on py.py ^^^, bytearray buffers are not emulated well enough
+ # note: on pypy ^^^, bytearray buffers are not emulated well enough
assert typeof(p2) is BIntP
assert p2[0] == lst[0]
assert p2[1] == lst[1]