aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2021-09-30 13:18:51 +0300
committerMatti Picus <matti.picus@gmail.com>2021-09-30 13:18:51 +0300
commitba5f891b570b33328ddd5cd4f6fa8cbf32e29314 (patch)
tree392cf79375a46b44f4c13d2cf1be1a6111d0c59e
parentmake error message match CPython (diff)
downloadpypy-ba5f891b570b33328ddd5cd4f6fa8cbf32e29314.tar.gz
pypy-ba5f891b570b33328ddd5cd4f6fa8cbf32e29314.tar.bz2
pypy-ba5f891b570b33328ddd5cd4f6fa8cbf32e29314.zip
make sure tests have unique names regardless of case since they are directory names on windows
-rw-r--r--pypy/module/_hpy_universal/test/_vendored/test_argparse.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pypy/module/_hpy_universal/test/_vendored/test_argparse.py b/pypy/module/_hpy_universal/test/_vendored/test_argparse.py
index 3d1e6db749..f5f80a9d35 100644
--- a/pypy/module/_hpy_universal/test/_vendored/test_argparse.py
+++ b/pypy/module/_hpy_universal/test/_vendored/test_argparse.py
@@ -75,7 +75,7 @@ class TestParseItem(HPyTest):
"function a str is required"
)
- def test_B(self):
+ def test_bigB(self):
mod = self.make_parse_item("B", "char", "char_to_hpybytes")
assert mod.f(0) == b"\x00"
assert mod.f(1) == b"\x01"
@@ -211,7 +211,7 @@ class TestParseItem(HPyTest):
assert mod.f(2**ULONG_BITS) == 0
assert mod.f(-2**ULONG_BITS) == 0
- def test_L(self):
+ def test_bigL(self):
import pytest
mod = self.make_parse_item("L", "long long", "HPyLong_FromLongLong")
assert mod.f(0) == 0
@@ -224,7 +224,7 @@ class TestParseItem(HPyTest):
with pytest.raises(OverflowError):
mod.f(-2**63 - 1)
- def test_K_signed(self):
+ def test_bigK_signed(self):
mod = self.make_parse_item("K", "long long", "HPyLong_FromLongLong")
assert mod.f(0) == 0
assert mod.f(1) == 1
@@ -236,7 +236,7 @@ class TestParseItem(HPyTest):
assert mod.f(2**64) == 0
assert mod.f(-2**64) == 0
- def test_K_unsigned(self):
+ def test_bigK_unsigned(self):
mod = self.make_parse_item(
"K", "unsigned long long", "HPyLong_FromUnsignedLongLong"
)